sivaramb
Member
Posted 2 months ago #
I installed it on WP version 2.84 and it works fine with posts. It does not show up with pages. I tried both "automatically show" and also inserting the function call in page.php. I have rebuilt the cache about 50 times over the last 24 hours. related_pages() always returns "no related ..".
I have lowered the thresholds to the minimum possible values. One more thing is that the related pages section does not appear for pages in edit mode. It does for though.
How can I have the related pages functionality?
Website: http://www.maravis.com
Any help appreciated..
sivaramb
Member
Posted 2 months ago #
Correction to previous post: "It does for though" should actually be "it does for posts though"
sivaramb
Member
Posted 2 months ago #
More info:
The posts are under the Archive menu item (http://www.maravis.com/archive) and the pages are under the Articles/Tutorials menu item (http://www.maravis.com/library). As I mentioned earlier, none of the items under the /library path have the "related pages" showing up. When you view the pages, there will a "." below the signature line. That is what I have configured YARPP to show if there are no related items.
The current settings have the "Automatically show" option checked.
@sivaramb related pages are a feature that should work but often isn't for some users right now (see here). I hope to fix this behavior soon.
sivaramb
Member
Posted 2 months ago #
Thanks for the response. I am assuming that keywords will also be a factor in finding related pages/posts. Not sure if they already are..
Do you mean tags when you say "keywords"? If you've chosen to consider them in the "relatedness" options section, they should be being used.
sivaramb
Member
Posted 2 months ago #
Well, I did mean keywords, not tags. How do you tag pages in WP? What I do is I add custom fields called "Keywords" and "Description" to each of the pages (and even posts). I have modified the page template (and single.php) to display them as html meta tags.
As I was writing this, I realized that this is probably not the way others do it. If I may ask, how do you find related pages for a particular page, since there is no category, tags or anything else for pages?
@sivaramb, oh, I see. YARPP doesn't use custom fields in its relatedness forumula at this time.
Even if you don't have categories or tags, YARPP will look at the title text and body content of your page and compare them.
jconroy
Member
Posted 2 months ago #
@mitchoyoshitaka How long till the YARPP pages functionality is likely to be fixed?
@jconroy - I can't promise anything, though I want to say in the next few weeks? It really depends on how busy "life" is. :/
sivaramb
Member
Posted 2 months ago #
Do you plan to include a feature that will allow the admin to explicitly specify a related post/page? This will allow multi-part posts/pages that are posted separately (maybe over time) to be linked together.
Right now, we can simulate this by just creating a post/page that has links to all the related posts/pages..Maybe that is the way to go..
But, I think that having a related posts/pages section in the edit page to explicitly specify them will be more user friendly, since you already have those sections for the automatically generated related content.
@sivaramb for something like an organized series, I actually use the In Series plugin. I recommend you use that and let YARPP just do its automatic thing.
sivaramb
Member
Posted 1 month ago #
Don't mean to bug you, but do you have any updates on including related pages?
billpetro
Member
Posted 1 month ago #
I have the opposite problem: YARPP show up on my Posts as well as my Pages. I only want them on my Posts.
I'm running WP-MU 2.8.4 with the Thesis 1.6 theme and the OpenHook plugin.
I have in the "After Post" field of OpenHook entered:
<?php related_posts() ?>
and turned on: Execute PHP on this hook
In YARPP, I've unchecked in Display Options:
Automatically display related posts
How do I get it to show in just Posts and not Pages?
Thanks.