Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Carlos on "[Plugin: Polylang] Monthly archives"

$
0
0

Thank you for the explanation and code!

Unfortunately, it doesn't seems to work. I have W3 Total Cache plugin running, but I disabled it from the "General Settings", disabling it with the "Toggle all caching types on or off (at once)" checkbox and then hit "Save". I also tried with different browsers, cleaning their cache too.

I'm not good with PHP, but I tried to change the function body to just "return null;" to see if I get the link to the home page always ( I guess this is what should happen, right? ) but nothing changed, in any page/post I tried.

I also tried to spit out javascript code for debug:

echo "<script>alert('" . $url . "');</script>";
return null;

It doesn't show up any message box, although I'm VERY novice with php and coding for web in general and I'm not sure if it should do what I expect.

Can I do something in my side to trace the problem?

Thank you for your time.

EDIT: I said I have the latest version of Polylang. I want to clarify that I referred to 1.1, not the development branch.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>