Title: Meta data defined in Genesis framework?
Last modified: July 23, 2017

---

# Meta data defined in Genesis framework?

 *  Resolved [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/)
 * It seems like title tags and meta descriptions which get defined in the Genesis
   SEO functionality for pages, archives, tags and posts are not being used. This
   plugin is defaulting to basic wordpress. Some of this can be solved by removing
   and adding an action ato functions.php (pages, home page, posts are fairly easily
   dealt with) but dealing with archives, tags and the posts page is proving difficult(
   I haven’t cracked that yet).
 * Really the features.php file needs to be updated to accommodate Genesis. Not 
   everyone uses yoast as it has become quite a bloated plugin if you are looking
   for speed and simplicity.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9345744)
 * This is how I am currently overcoming the issue – it serves my purpose on posts,
   pages, the blog posts page (I also test for page number and add it in for page
   2,3, … ) and tag archives (I don’t bother with $paged as my tags only apply to
   pages and not posts).
 * It is not a nice solution and as mentioned above – really this should be done
   by the core plugin.
 * /**
    * Getting Genesis SEO into AMP pages */
 * add_action( ‘amp_post_template_head’, ‘amp_post_template_metatitle’,2);
    function
   amp_post_template_metatitle() {
 * // tag pages
    global $wp; $current_url = home_url(add_query_arg(array(),$wp->
   request));
 * if(is_tag()){
 * remove_filter( ‘get_the_archive_title’, ‘ampforwp_editable_archvies_title’,10);
   
   remove_action( ‘amp_post_template_head’, ‘amp_post_template_add_title’ );
 *  echo ‘<title>’;
    echo genesis_default_title(); echo ‘</title>’; } // blog page
 * elseif(is_home()){
    remove_action(‘amp_post_template_head’,’ampforwp_frontpage_title_markup’);
   echo ‘<title>’; echo genesis_default_title(); echo ‘</title>’; }
 * // posts and pages
    else{ remove_action( ‘amp_post_template_head’, ‘amp_post_template_add_title’);
   remove_action(‘amp_post_template_head’,’ampforwp_meta_description’); remove_action(‘
   amp_post_template_head’,’ampforwp_frontpage_title_markup’); echo ‘<title>’; echo
   genesis_default_title(); echo ‘</title>’; }
 * if($current_url==’[https://www.example.com/amp&#8217](https://www.example.com/amp&#8217);){
   
   remove_action(‘amp_post_template_head’,’ampforwp_frontpage_title_markup’); echo‘
   <title>’; echo ‘Dentist – Lakewood, White Rock & Lake Highlands’; echo ‘</title
   >’; $description = ‘Your local dental practice, serving patients from across 
   East Dallas. For an appointment with Kelli Slate, DDS – Please call (214) 821-
   8639.’; echo ‘<meta name=”description” content=”‘ . esc_attr( $description ) .‘”/
   >’ . “\n”; }
 * $description = genesis_get_seo_meta_description();
 *  $description = genesis_get_seo_meta_description();
 *  // Add the description if one exists.
    if ( $description && $paged > 1 ) { echo‘
   <meta name=”description” content=”‘ . esc_attr( $description ) . ‘- page ‘ . 
   $paged . ‘” />’ . “\n”; } elseif( $description) { echo ‘<meta name=”description”
   content=”‘ . esc_attr( $description ) . ‘” />’ . “\n”; } }
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9346504)
 * Hi [@frenchomatic](https://wordpress.org/support/users/frenchomatic/),
 * Thank you so much for using our plugin.
 * I have added a ticket about it in our Github and we will make sure to make our
   plugin fully compatible with Genesis.
    Reference: [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/984](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/984)
 * Regards
    Marqas
 *  Thread Starter [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9346757)
 * Excellent news.
 * It is going to be tricky to separate a static home page and a page which is used
   for posts if they are being used on the same site. The only way I could find 
   to do it was to test the url to see if it was the root domain url.
 * I look forward to seeing how it turns out
 * 5 stars on there way.
 *  [joycegrace](https://wordpress.org/support/users/joycegrace/)
 * (@joycegrace)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9348251)
 * Hi, I’m not that advanced technically, but making my way around some basic CSS
   and HTML and reading what I can.
 * Can someone tell me if this issue I reported earlier is related to what’s being
   said here? [https://wordpress.org/support/topic/blog-template-for-archives-doesnt-show-posts-in-amp/](https://wordpress.org/support/topic/blog-template-for-archives-doesnt-show-posts-in-amp/)
 * Will the //blog code above work as a solution?
 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9348935)
 * Hi [@joycegrace](https://wordpress.org/support/users/joycegrace/),
 * It’s not related to this but I have replied on that ticket, please have a look
   there.
 * Regards
    Marqas
 *  Thread Starter [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * (@frenchomatic)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9356698)
 * Test environment sent to you as requested.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Meta data defined in Genesis framework?’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [frenchomatic](https://wordpress.org/support/users/frenchomatic/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/meta-data-defined-in-genesis-framework/#post-9356698)
 * Status: resolved