If I call a shortcode in a widget its CSS is not loaded.I have to create a double shortcode, one as widget one as post content? It doesn’t seem very useful.
The plugin seems that doesn’t keep in memory if the widget is a plugin or not.
Good morning,
I did extensive testing on multiple versions of WordPress to ensure problems are kept to a minimum. It is impossible for me to test with all configs.
I have not encountered the problems you are experiencing, however I will take a look into it to find a solution.
With the shortcode in a widget, I removed the code from finding text widgets with shortcodes. It was a difficult decision to make, but in the end it was the best for optimisation. I included a dedicated widget type, and yes you’ll need to make a copy of a shortcode and set it to widget. In the pro version, there is a hybrid type that can be used as both.
Can you explain what you mean by “CSSs are wrongly inserted inline”?
First of all I’m sorry for the tone of my first post, but I was very pissed off, because we have to present the website to a client and all errors come in one shot. Also other errors that don’t involve the plugin 🙂
I don’t know if it’s only me but some plugin’s CSSs are thrown both inline and in a file. Maybe It’s a compatibility issue with some other plugins, but seems that CSS are stored differently than before. Maybe they are inserted before in code and they are not overriding some other cache css. I don’t know.
What do you think?
I’ve located also a warming for the unlinking of CSS in Apache log.
PHP Warning: unlink(/home/oktoberfest/public_html/wp-content/uploads/cache/fb5ed65e64b139152c4fd1693e508ea9.css): No such file or directory
maybe it’ll help
I’ve found other problem with oktoberfest.net. If we add a widget created with my shortcode seems that it cuts a </div> and the footer became hugly.
If you look at the code seems that “sectioncont” div of the first widget it’s not closed. But it’s closed in the other widget.
We have tried also to test if the problem is there with all widgets but seems that is there only width my shortcodes widgets.
Don’t worry, I didn’t take the tone personally.
I’ll look into the issues you’re facing and see what I can solve.
CSS: its stored pretty much the same. I dont see how it can be placing inline unless the permissions to the cache (wp-content/uploads/cache) folder, in which case it places inline.
the warning you mentioned from apaache, indicates that the file did not get written.
Thank you. I’ve looked deep in the problems and the widget problem seems to be that plugin doesn’t append the ‘after widget’.
Thanks, I’ll take a look in that area for you and let you know whats happening.
Any news about theese problems?
Seems that the admin bar desappearing problem is caused by the deactivating of the visibility of it from profile page. If I reactive it it is showing, but if I save any shortcode it disappear again.
I’m keeping receiving PHP Warning: unlink([…]): No such file or directory. This is filling my changelog file size. Can you solve this by checking the existence of the file before unlinking?
😉
Its already in. I’m just working on a few more small issues before I push it.
if you want, you can pickup the latest dev version on my github page https://github.com/Desertsnowman/My-Shortcodes
Although, I’ll probably push the update tonight.
Hi There, can you confirm if the update has solved the problem?
Hi, we will test it tomorrow because today we were buisy. I let U know!
Ok I’ve tested few things…
Good things first.
- Apply Button il working fine now
- No more warning thrown in Apache error log
- JS and CSS working fine
Not resolved:
- After widget html closure tag (in my case </div>) isn’t still there. This problem is showing up on both our sites that have 2.01 installed.
- It doesn’t keep in memory and preselect the widget type of shortcode when I re-enter in edit panel and preselect Shortcode instead of Widget.