Thread Starter
gerobe
(@gerobe)
Just checked this again: not the div is removed, but the more-link template is not used at all on a category overview!! It’s still the normal WP more-link!!
Thread Starter
gerobe
(@gerobe)
Did some research why this is happening and found line 148 which says:
if ( !is_home() ) {return $content;}//run it only on main page, if it's run on category/archive/etc., don't change and exit
So categories are omitted explicitely! Why? I commented out this line and everything works great again and categories do show a modified more-link as intended.
What is this line for?
@gerobe – please send me a private email (florin @@@@@drumliber.ro) to figure this out and release a fix.
PS: I guess you don’t run TwentyTen/TwentyEleven themes.
I have that check because TwentyTen and TwentyEleven themes run the code twice as these themes show the content using excerpts. Your theme probably echoes the page with the_content().
I finished working at Custom More Link Complete version 1.4.1 which completely changes the approach to edit links, making it simpler.
It should also fix the problem you mentioned.
Please check the update and let me know if it works as expected.
Thank you!
Thread Starter
gerobe
(@gerobe)
I just installed version 1.4.1 and now everything is running great and the problem is fixed.
You’re right, I don’t use TwentyTen or TwentyEleven.
Thank you for fixing this!
Good, glad it helped. The method of interacting with “read more” links was inherited from the older versions similar plugins had/have, it was time to get it right.
Thanks for the feedback, it was valuable!
BTW, it would help if you mark it as working and maybe star it 🙂
Thread Starter
gerobe
(@gerobe)
Marked the new version as working 🙂