• eric3d

    (@eric3d)


    Great plugin. I would like to use the link title attribute as a page title in the document head. Something like:

    <title>
    <?php
      if ( PME Page Link Title Attribute is not empty ) {
        echo  ( PME Page Link Title Attribute . '|' );
      } else {
        wp_title('|',true,'right');
      };
      bloginfo('name');
    ?>
    </title>

    I just don’t know how to access it.

    https://www.ads-software.com/plugins/page-menu-editor/

Viewing 1 replies (of 1 total)
  • Thread Starter eric3d

    (@eric3d)

    After digging through the database, I found
    meta_key = dsa_pagemenueditor
    meta_value = a:2:{s:10:”menu_label”;s:4:”This is the label”;s:15:”title_attribute”;s:22:”This is the page title”;}

    I tried to retrieve the value from the array, but get nothing

    global $post;
    echo get_post_meta( $post->ID, 'dsa_pagemenueditor["title_attribute"]', true );

Viewing 1 replies (of 1 total)
  • The topic ‘Use link title as page title’ is closed to new replies.