![]() |
Wordpress - exporting titles with certain tags to html page
So, need a hand here as I can't seem to get this working :Oh crap
Situation: Website is in html (php enabled via htaccess) Wordpress is in a subdirectory. Being a review site, each html page focuses on a single model/site. The blog posts include new galleries and/or promos for the various sites. What needs to be done: Each blog post is tagged only with the model/site name. I'd need to have the list of all the titles with that tag to be listed on the respective review page (linked of course). Example: Html pages - cat, dog, fish, dinosaur Blog posts - lucky (tagged "dog"), mittens(tagged "cat"), rex(tagged "dinosaur"), fluffy(tagged "cat"), goldfishie(tagged "fish"), brick(tagged "dog"), chuck (tagged "cat") The page "cat" would have content about cat, and each of the blog posts tagged as cat somewhere: listing only mittens, fluffy, and chuck. (and any other post i tag as "cat" in the future) Like... Header content photo content content photo List of blog titles tagged "cat" Footer ---------- Link to the site I need this for is in sig. Is there a widget or script that does it? Tried looking around but didn't find anything useful. :( Any help is appreciated... thanks! :thumbsup |
Hi,
Try wordpress plugin - Yet Another Related Posts Plugin (YARPP). wordpress.org/plugins/yet-another-related-posts-plugin Cheers. |
I don't know that you would find any plugin to do this. You are not inside wordpress when you are on the review site (at least I don't think so). You might be able to do something with rss from wordpress pulled into the page, again not sure on that.
You could pull directly from the wordpress database at the top of each review page for whatever tag you want for that page. Using my wife's wordpress blog (I am not sure what version) the sql would be something like: select a.guid, a.post_title from wp_posts a inner join wp_term_relationships b on a.id=b.object_id inner join wp_term_taxonomy c on b.term_taxonomy_id=c.term_taxonomy_id inner join wp_terms d on c.term_id=d.term_id where c.taxonomy='post_tag' and d.name='tag to match to' . |
I have an object put together that should be able to do this for you. Let me know if you want it.
. |
Quote:
Quote:
Quote:
|
You need to create a plugin for this if you want to do it via Wordpress intrerface... imo it's also the easiest way.
I can help you out. |
PROBLEM SOLVED
In case anyone else needs the solution, just let me know =) |
Quote:
. |
All times are GMT -7. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc