Pods Advance Content Type (Pods-ACT) is out of the box solution to create custom types outside the usual WordPress’s posts tables including their own ready to use administration pages.
However, this advance solution comes with a lack of the poor integration with the most popular SEO plugin “Yoast”. Therefore, we created this plugin for you to do the integration with your Pods-ACT landing pages (Pages Component in Pods).
Warning: You need to write a line of code in your landing page template in order to do the integration.
How To Install
Install like any other plugin, directly from your plugins page but make sure you have and enabled Yoast & Pods plugins.
How To Install
Install like any other plugin, directly from your plugins page but make sure you have and enabled Yoast & Pods plugin
How to use it
Step 1: Create the ACT
Create the ACT you want. We made our example on an ACT represent a Resume.
Step 2: Create your Template page and link it to Pods Pages
Step 3: Write the following code
/* * Template Name: Resume Landing Page */ $pods_obj = pods('YOUR_ACT_NAME', pods_v('last', 'url')); $params = array( url => home_url("/YOUR_ACT_PAGE/" . $pods_obj->field('permalink')), content => $pods_obj->field('YOUR_ACT_DETAILS_FIELD'), image => $pods_obj->display('YOUR_ACT_PICTURE_FIELD'), created_on => $pods_obj->field('created'), modified_on => $pods_obj->field('modified'), category => $pods_obj->field('YOUR_ACT_CATEGORY_FIELD'), tags => implode(',', $pods_obj->field('YOUR_ACT_TAGS_FIELD')), title => $pods_obj->field('name'), ); ipays_podsActSEO::getInstance($params); get_header();
When you call the “getInstance” function the class will send the parameters you passed to WPSEO_OpenGraph class in order to generate the open graph meta tags.
Step 4: Enjoy the result!
Step 5: We appreciate your support
We are just two guys living in Amman, Jordan who made this plugin and thinking in creating more plugins covering advanced topics such as integrating WordPress with CDNs, WP Database distribution, and use WordPress to build web applications and portals.
We are welcoming any support from your side either it was money or suggestions which you can send to email@example.com.