Support » Plugin: Alphabetic Pagination » “With” now showing up in my page titles

  • Resolved jmarx75

    (@jmarx75)


    In your latest version in your /inc/functions.php file you now have this code:

    add_filter( 'wp_title', 'ap_page_title', 10, 2 );
    function ap_page_title($title){
     global $ap;
     return $title.' with '.$ap.' | ';
    }

    Can you tell me what the purpose of this code is?
    It seems to be adding “with” on all of my page titles whether it’s using the alphabetic pagination or not. Is that intentional?
    Thanks,
    Jeff

    • This topic was modified 5 years, 1 month ago by jmarx75.
Viewing 4 replies - 1 through 4 (of 4 total)
  • i am haivng this issue too.

    View post on imgur.com

    • This reply was modified 5 years, 1 month ago by emilysparkle.
    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    I am really sorry for the late reply but there is some problem with this support forum that i am not getting the notifications. This filter need to be updated, it should not interrupt any other page except the relevant archived pages. In fact i will make it conditional and settings page will have an option to TURN it ON/OFF. Please wait for a day or two.

    it should be off as default. add the option to turn it on.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Yes, i will. For now implemented if condition to check if its empty. Soon will add an option on admin settings page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“With” now showing up in my page titles’ is closed to new replies.