Changeset 3186012
- Timestamp:
- 11/11/2024 08:36:06 PM (5 months ago)
- Location:
- emplibot/trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
emplibot/trunk/emplibot.php
r3153973 r3186012 3 3 * Plugin Name: Emplibot 4 4 * Description: Automated keyword research, automated blogging, with internal and external links, engaging infographics, unique featured images, and more. 5 * Version: 1.0. 05 * Version: 1.0.2 6 6 * Requires at least: 6.4 7 7 * Requires PHP: 7.2 -
emplibot/trunk/includes/rest-api.php
r3153973 r3186012 104 104 $post_content = json_decode($json_data->content); 105 105 $post_title = $post_content->post_title; 106 $post_keyword = $post_content->post_keyword; 106 107 $post_body = $post_content->post_content; 107 108 $post_meta = $post_content->post_meta; … … 153 154 do_action('wpml_set_element_language_details', $set_language_args); 154 155 } 156 157 if ($post_meta) { 158 // Set for Yoast SEO 159 if (class_exists('WPSEO_Frontend')) { 160 update_post_meta($post_id, '_yoast_wpseo_metadesc', $post_meta); 161 } 162 163 // Set for RankMath 164 if (class_exists('RankMath')) { 165 update_post_meta($post_id, 'rank_math_description', $post_meta); 166 } 167 168 } 169 170 if ($post_keyword) { 171 // Set for Yoast SEO 172 if (class_exists('WPSEO_Frontend')) { 173 update_post_meta($post_id, '_yoast_wpseo_focuskw', $post_keyword); 174 } 175 176 // Set for RankMath 177 if (class_exists('RankMath')) { 178 update_post_meta($post_id, 'rank_math_focus_keyword', $post_keyword); 179 } 180 181 } 155 182 } 156 183 -
emplibot/trunk/readme.txt
r3177934 r3186012 4 4 Requires at least: 6.4 5 5 Tested up to: 6.7 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 Requires PHP: 7.1 8 8 License: GPLv3 or later … … 34 34 = 1.0.0 = 35 35 * Release of the initial plugin. 36 37 = 1.0.1 = 38 * Updated readme for WordPress plugin directory. 39 40 = 1.0.2 = 41 * Blog posts meta description and keyword will be set for Yoast SEO and Rank Math from now.
Note: See TracChangeset
for help on using the changeset viewer.