wordpress category id php
Showing wordpress post in a specific category of external php page.?

I'm working on a website, but one of the requirements is that I have is being able to display ads on a separate page. I'm running the Xoops CMS, and be familiar with WordPress I have the WordPress Xoops module which is exactly it only allows the message to be displayed in the xoops cms. I decided that instead of manually update the page of ads that I would use wordpress and only appear after the category of ads. Using the code in the first example in this web site i was able to get the position of an external file wordpress php. Unfortunately, are all emails from all categories. What I need is to show my status message just ads (ie, category_id = 7). Although I am familiar with PHP, the MySQL / PHP is something I'm getting now. All help with this would be appreciated and I thank you in advance.

This should do it. Just set r.term_taxonomy_id below to be the category number to extract. SELECT * P. of p LEFT JOIN wp_posts as wp_term_relationships AS r ON WHERE r.object_id p.ID r.term_taxonomy_id = 7 AND NOT FOR NULL p.ID r.object_id DESC

Exclude Posts From the Homepage of Your WordPress Blog by Category


Wordpress


Wordpress


$8.57


No Synopsis Available

Id


Id


$11.99


Id

The WordPress Anthology


The WordPress Anthology


$29.83


No Synopsis Available

Using WordPress


Using WordPress


$21.24


No Synopsis Available

Wordpress Bible


Wordpress Bible


$42.49


No Synopsis Available

Wordpress in Depth


Wordpress in Depth


$18.33


No Synopsis Available


Turbocharge your FaceBook Marketing with FB AutoCash!

Tagged with:

Filed under: WordPress Marketing Strategies

Like this post? Subscribe to my RSS feed and get loads more!