I am talking about Wordpress back-end here,
How to hide the wordpress collapse/expand button and keep it always expand
The code seems fine to me, but from what I saw you are loading the script.js (http://clipdisplayserver.de/wordpress/wp-content/themes/clip/js/script.js) file twice in the page. Maybe that's causing your problem.
Related
So I have this problem with this Santu WooCommerce plugin, so this plugin will open an iframe every time someone click the product link, this iframe will open a checkout page from santu.
So the problem I had is I think there are some conflicts on wordpress themes and santu CSS/JS. Here is the screenshot
before I click the product link from santu.
After click the add to cart
what happened after click the santu link
So what I want is to prevent the assets (CSS/JS) from Santu Site affected my website. So I already googled it and found about the iframe sandbox, but when I added the sandbox attributes, it's broken the santu as well.
So is there any solution about this?
maybe some function in WooCommerce that can fix this problem?
Thank you.
Here's the video
Of course, there is needed much more information, example (at least link to that site too) and there might be needed further (and deeper) dig into those files and etc, which can be hardly achieved with this Q/A format.
However, as an ugly alternative (as a temporary solution, if you can't fix it better) is that the add-to-cart JS action should be triggered into the new window-frame (which will be closed automatically) and thus, the initial page's design won't be messed up.
If that's possible, here is phseudo-concept:
clicking on "add-to-cart" triggers window.open( window.location.href + '&xyz')
if(window.location.href.indexOf("&xyz") > -1) then trigger add-to-cart window.
closing that window should trigger window.close();
On our website, we use the Ubermenu plugin. As I was creating a menu within WordPress' backend, the menu items suddenly no longer appeared. I've disabled Ubermenu and a bunch of other plugins but they just won't show. Has anyone come across this before?
Edit to add: Also, I just noticed that the Screen Options and Help tabs on the top of the page also don't work. But work fine on every other page.
There are some js errors in console?
Or, do you edit some files inside wp-includes folder?
I have installed this theme: http://www.designwall.com/product/dw-minion/ in my self-hosted Wordpress
http://i.stack.imgur.com/9outg.png
But the thing is whenever I go to a post, I can't highlight nor click on anything because an iframe is blocking the whole page! I do not know this generated iframe and it only happens on the said theme. Anyone got an idea what it is and how can I get rid of it?
Fixed this. Here's the answer: http://www.neilmarion.com/index.php/fixing-an-obtrusive-wordpress-theme/
I've got a page in Wordpress that has a custom template assigned to it. It worked initially and without any notice it one day decided to default to index.php....
It won't go to its template_page.php or to page.php it always goes straight to index.php in my theme.
One extra odd thing i noticed is that when editing the page, it would not have the drop down underneath publish to select the custom template...never seen this before.
This is not the case for every other page i have on this build that uses a custom template. All other pages work just fine.
I have tried:
disabling all plugins / upgrading plugins.
changing and re-setting my permalinks.
deleting the page and re-creating it.
I've found that it will render the page occasionally but not always. I had solved it once and left it and it revert back to trying to use index.php to render the page after a few days.
I'm stumped, any thoughts?
Not sure why that would happen, but have you tried naming your custom template file page-yourpageslug.php or page-yourpageid.php. Wordpress should use that template by default without having to set it that way in the admin area.
I have a page template set up as the front page but it's not loading for some reason. I've done this plenty of times in the past just fine.
I should be getting a body class of "portfolio-page-template" but rather I just get the regular "page-template".
I've tried resetting the permalinks, deleting/recreating the Portfolio page, changing back to the default theme and changing back, and still no dice.
Anybody know of a fix?
Need more info.
Did you save it as home.php did you override it in the settings? http://img.lajlev.dk/5a842c1e3dc470468c322af0fe79c004.png
Had a similar problem, and while it’s not an eloquent solution but when my working home page template started defaulting to my taxonomy.php template without reason, I tried all of the things you mention and then:
deleted the taxonomy template,
deleted the .htacces and refreshed the permalinks
selected and set the page-template-home.php again
noticed all was well
put my taxonomy template back and surprise - everything worked
very strange.
If this is not your issue, I can give you a few pointers on what to check for when setting up a custom page template, and what to check for if it fails.
Check the status of theme path or theme sittings