Peachey_A
Forum Replies Created
-
Forum: Plugins
In reply to: [TinyPNG - JPEG, PNG & WebP image compression] Feature Request: SchedulingAwesome!
I’ve used the TinyPNG plugin on 90+% of sites, so I’ve seen the improvements over the versions. Keep up the good work folks!
Hi @amedic,
I’ve had a look at the code, and I think I understand what you’re doing. My only real suggestion would be to echo the
$availableTags
into a hidden container, and then run the javascript in the footer of the page.That might not make sense for what you’re trying to achieve, but that’d be my best guess at a workaround I’m afraid.
Good luck!
AndrewHi @amedic
Unfortunately, I didn’t find a tidy way to resolve the conflict. I ended up creating an empty element like this:
<div id="rev_layer"> </div>
and then used javascript to target the id and add the content I needed.It will depend on what content you’re trying to get out of your Insert_PHP block as to whether this solution will work for you.
If you were really desperate, a solution (though awful) would be to use Insert_PHP to get your content somewhere else on the page inside a container with an
id
andstyle="display:none;
. Then move it with javascript after the page loads. As I say, this is about the worst approach possible, but it could solve the problem.Cheers,
AndrewHi Angelo,
I’ve found and resolved the issue. The theme was using an animation library to change pages, and since disabling it everything works.
Before solving it, I noticed that the
data
object became undefined when trying to change pages. Perhaps the plugin is trying to get data but is still referencing the old page as it doesn’t get unloaded properly. Just a thought. Either way, we’re all good!Cheers,
AndrewThe player does work, that is correct. However, on the homepage, if you click ‘podcasts’ in the navigation that page will not load until you refresh. Does this not happen in your browser?
If it’s a caching issue, that’d be grand, but I refreshed my cache in safari and firefox earlier and still had the issue.
Hi Angelo,
Thanks for replying so quickly. The link is https://www.twentisphere.com. It’s behind a password which is: HelloTwentisphere
Please let me know when you’re finished checking the client wants me to change the password back afterwards.I have only slightly been able to test with a default theme as the client is very dependant on the theme we’re using ‘Stockholm’ on ThemeForest. All the pages are built using that and Visual Composer so swapping to 2016 theme results in almost nothing being displayed except a pile of shortcodes from visual composer.
No way that I could find to resolve a conflict between InsertPHP and Revolution Slider.
In the end I opted to used a javascript solution.
Hi Will,
That’s a really sneaky way to use the shortcode notation, I like that a lot. Very clever.
I’ll do some digging on Revolution Slider, for what you’ve said it sounds like it’s running post PHP execution, some kind of JavaScript cleverness.
Thanks for getting back to me so quickly. Will keep thread open until I’ve found a solution and publish back here if it includes Insert PHP.
Cheers,
AndrewForum: Plugins
In reply to: [Etsy Importer] TemplatingCompletely agree.
Besides, if you want true e-commerce then there are plenty of wordpress solutions or other CMS’s from which to choose.
Forum: Plugins
In reply to: [Etsy Importer] TemplatingCheers.
Lovely plugin by the way. Love the concept of on-boarding the Etsy data into a post-type rather than trying to pull it across in an iFrame or some such.
Forum: Plugins
In reply to: [Etsy Importer] TemplatingYep, that’ll do it.
Would still like to see little bits of templating docs, for people even less capable than me ??
Cheers,
AndrewForum: Plugins
In reply to: [Etsy Importer] TemplatingHang on, can I just do
get_post_meta()
??Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Persistent notice.I’m still not sure which screen you mean.
However, as rubbish as it is to have to edit the plugin manually, YARPP hasn’t been updated in a while so might be a workable solution for now.
Could you publish your edits here incase anyone else is having a similar issue?
Cheers
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Persistent notice.Hi PsychologiaPar,
I haven’t ever had this issue. Could you share a screenshot of what you’re seeing?
Cheers,
AndrewHi crlannen,
The time is takes for YARPP to generate posts will vary based on a number of factors. But principally it will come down to one of the following:
Slow database server
Low performance file server (PHP execution for YARPP is relatively expensive)
CachingIn your case, caching may be an issue. The readme.txt (line 242) for YARPP says this:
“Note that custom YARPP queries using the functions mentioned here are *not* cached in the built-in YARPP caching system. Thus, if you notice any performance hits, you may need to write your own code to cache the results.”
It is not 100% clear if this refers to specifying additional values on
related_posts()
requests. However, I would suspect it does. In your current installation, would it be an option to transfer the arguments used in the code into the YARPP control panel? If so, I would recommend that approach, as it is 100% guaranteed to be cached.Hope that helps a bit, given that the plugin seems to have been abandoned, there isn’t a lot of ‘official’ support around anymore.
Andrew