Jump to content

Wordpress Query required


hitmanuk2k

Recommended Posts

Hi,

 

Basically I just need a simple query to pull some details from wordpress but sadly I have absolutely no programming experience.

 

I have a custom CMS built seperate to wordpress. An example page can be found at http://www.obsessedwithfilm.com/et/movie.php?id=4

 

At the bottom we have a Latest Articles where we want to pull all articles related to The Dark Knight from our Wordpress. We have a "custom field" set up in Wordpress called "movie" which we use to state which movie each article is about. I need a query which will pull back all the articles (permalink, title and excerpt) from the Wordpress database where custom field titled "movie" is equal to <?php echo $movieHeadTitle?>

 

I am aware that I'm going to need a connection to the Wordpress database since this is external, not sure how to do this but it should be straight forward enough?

Link to comment
https://forums.phpfreaks.com/topic/123590-wordpress-query-required/
Share on other sites

Hello, This isn't really a place to ask for help if you have "absolutely no programming experience". This place is for people who are actively programming and get stuck on a problem. If you have absolutely no programming experience, you should try to learn or hire someone with experience.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.