• It is awesome plug-in for wordpress, but last version don’t have %title% expression for post and page titles. Please, return it as option. We have about 700 posts at our site and repair all titles is a great longtime job.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author George Notaras

    (@gnotaras)

    Hello,

    Thanks for pointing it out. This will be fixed in the next release.

    The code is there but is currently commented out. Please try uncommenting line 2510 of amt-utils.php.

    Line 2510:

    //$custom_title = str_replace('%title%', $title, $custom_title);

    Should become:

    $custom_title = str_replace('%title%', $title, $custom_title);

    Hope this helps for now.

    I’d appreciate it if you updated your review rating.

    Kind Regards,
    George

    Plugin Author George Notaras

    (@gnotaras)

    There was no intention to remove the functionality. Thew code had been commented out for testing and unfortunately it remained that way until release.

    I’m sorry for the inconvenience.

    George

    Plugin Author George Notaras

    (@gnotaras)

    I’m sorry. Please do not make any changes until further notice. The change might not give the expected results. I’ll let you know very soon.

    George

    Plugin Author George Notaras

    (@gnotaras)

    You willhave to make the following change in order to eventually get the functionality back before the new release.

    The file to edit it: add-meta-tags.php

    The part between lines 113-116:

    $processed_title = amt_get_title_for_title_element($options, $post);
        if ( ! empty($processed_title) ) {
            return esc_attr($processed_title);
        }

    Should become:

    $processed_title = amt_get_title_for_title_element($options, $post);
        if ( ! empty($processed_title) ) {
            $processed_title = str_replace('%title%', $title, $processed_title);
            return esc_attr($processed_title);
        }

    Hope this helps. If you need more help with this, please let me know.

    George

    Plugin Author George Notaras

    (@gnotaras)

    A final remark. If the new option “Enforce the use of the content’s custom title in the generated metadata.” has been enabled, some more changes are required for the custom title to appear in the metadata correctly (with %title% properly expanded).

    I’m afraid these changes cannot be posted here (they are around 5 code snippets). Please do not enable the aforementioned option until v2.9.3.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Hello,

    Version 2.9.3 which re-adds the requested functionality has been released.

    Please let me know if everything works as expected. Your feedback is much appreciated.

    George

    Thread Starter ndrwpvlv

    (@ndrwpvlv)

    Thank you so much!

    Plugin Author George Notaras

    (@gnotaras)

    @ndrwpvlv

    Hello,

    As you can see, a new release with the functionality you requested has been published as soon as possible (actually, I made that release in the middle of the night in order to prevent your web site from being broken). Now that the functionality you requested is back, I’d greatly appreciate it if my plugin got that fifth star in your review. 🙂

    On the other hand, if you think there is anything else wrong with the plugin which keeps the rating low, I’d appreciate your feedback, so as to be able to fix any problems.

    Kind Regards,
    George

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Please back %title% to titles’ is closed to new replies.