I have a page where the content comes from iframe. The issue is I want to hide a table column inside the iframe for users and display the same only for admin. Is it possible to toggle content that is displayed using iframe? If yes, please tell me how.
Thanks in advance.
Related
Instead of having the link opened in a new tab I would like to the link to be opened in an iframe that's on the same page.
Example:
I have my front page with an iframe on it. If I click on the menu items i would like to have the urls loaded in the iframe.
I can't seem to find an answer for this.
Alter the iframe in your front page as below
Make sure the iframe contains a name attribute (name="main-section")
<iframe name="main-section" src="home.html"></iframe>
In your menu items make sure the target attribute redirects to main-section (target="main-section"). This is an important step.
Example:
I am pretty sure you can achieve the above steps in wordpress.
I am planning to add a button which will be sticked to bottom of the screen, centered, only on mobile to my wordpress web site but ı must to insert this button to all pages on my website. I don't want it to show on desktop or any other devices.
Can someone help me about this.Because ıdont want call now button plugin.I want to use this without plugin.
All help is appreciated. Thank you very much!
You can add button HTML with class name in a widget and call widget code in the footer. Then you can add a media query to button class to display in mobile.
I recently started using Drupal 8. I am able to add a basic page, but whenever I try to view it, the body text pertaining to the page does not display, only the page title is visible. Does anybody have any ideas as to why I am experiencing this problem. Thanks in advance.
Attached is a screenshot of where I am expecting to see the body text for the page. The title of the post is visible, but not the body
May be you have disabled the body field display from content type settings. Go to the page 'your site address/admin/structure/types/manage/page/display' and check the body field is disabled or not. If disabled please enable it for showing the content on front end.
in my wordpress site's I implement a mailchimp popup subscribers. I need to hide the close button in the banner who the code display before the mailchimp form in mobile view. Anyone can help me? I try to add custom css to my wordpress theme with
.bannerContent__closeButton {
display:none;
}
but not work. Can anyone help me pls?
Can you provide a link to your site? If your custom css code isn't working then double check your close button class. You can find it by inspecting it in your browser.
Try and get more specific. A link to your content or some more code would help, but basically,
body div.yourContainer div.yourRow div.bannerContent__closeButton {
display:none;
}
This way you override the default. If you can, right click the close button, select inspect element, and then the computed tab in Chrome. This will show you the 'display' attribute and you can see what is taking presidence.
The reason the above won't work is because the popup form is within an iframe hosted by MailChimp. You're writing CSS outside of the iframe, which does not apply to the content within the iframe.
Your only option here is to build your own popup form (or find one that someone else has built that you can modify). This will require both some client-side JavaScript as well as a server-side component to make the API calls, since the MailChimp API calls do not support cross-origin requests (CORS). See https://developer.mailchimp.com/documentation/mailchimp/guides/get-started-with-mailchimp-api-3/.
I want to create a custom page template in WordPress which shows Image Slideshow and then a video below it and finally some text - till now what I am able to do is play with sidebar, footer, header.
I can either remove them or keep them in my custom page templates but what I want to do is play with the page contents.
The Admin user should be able to see these sections in the Page Editor (WYSIWYG) when they choose the Template from the drop-down, so that they can accordingly add the correct content in correct place holders
Something like the attached screen-shot is showing
Is this possible in WordPress
Yes! It's possible to implement this! you can use https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 or https://wordpress.org/plugins/siteorigin-panels/ plugin.
The first plugin allows you to create different page layout and save it. It also allows admin to choose page layout that admin has saved previously.
The second page builder plugin allows you to create template same way and allows admin to clone one page layout to another one.
Hope this will help you!