All in One SEO Pack
Add mysql query on (1 post)

  1. shamratdewan
    Posted 2 years ago #

    Hi, how can i access database inside the function: function rewrite_title($header) as i want to keep the rewite rule for other post and also there is a custom post that runs separatly i want the title to come from a diffrent table i created within my WP DB. so basically need to run following code but the query ($wpdb var does not work.)$wpdb->get_results("SELECT * FROM table_name WHERE id='".$_GET[car_id]."'"

    the code will give me the text with which i want to overwite $title in certain cases


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic