WordPress.org

Ready to get started?Download WordPress

Forums

Toggle The Title
[resolved] Pages disappear from nav bar (5 posts)

  1. allenbell_nc
    Member
    Posted 12 months ago #

    Excellent plugin. One problem, perhaps caused by something in 3.6: when I uncheck the "toggle the title" box for my home page, both the home page and the about page disappear from the navigation bar.

    Thanks for any help!

    http://wordpress.org/plugins/toggle-the-title/

  2. avner.komarow
    Member
    Plugin Author

    Posted 11 months ago #

    it's working fine on my end on 3.6.

    lets do 2 simple tests (don't re-enable after each step):
    1) try to disable all other plugins.
    2) try to switch to one of the default themes (twentyXX)

    also please include the following information:
    1) what version of WP
    2) what version of the plugin?
    3) what theme are you using?

    avner.

  3. MFJLabs
    Member
    Posted 11 months ago #

    Appreciate the plugin.

    Seems to be a one-way toggle when it comes to the menu. Had to deactivate plugin to get menu back after toggling page title back on!

    Also, Title off/on works fine on page, but leaves a blank menu item where old menu item for page used to be. IOW - appears just like if you had changed the page title to a single space!

    WP 3.6

  4. avner.komarow
    Member
    Plugin Author

    Posted 11 months ago #

    hi MFJLabs,
    happy you like it :-)

    not sure i get the first part (regarding the menu), but this plugin is only intended for pages (as stated) in the plugin page.

    as for the space, it will actually remove the title (not just hide it with css) so it's theme related. you can go through the steps in the faq page:

    1) Add this function to your functions.php file on you current theme

    'function return_page_title_html_block($post) { $is_page_title_active = get_post_meta($post->ID, $key = 'toggle_page_title', $single = true); if($is_page_title_active == '' || $is_page_title_active) return '
    ' . $post->post_title . '
    
    '; return ' '; }'

    (without the tick marks of course)

    2) In your page.php file replace the title with the h1 tags to a call to echoing out the above function - print return_page_title_html_block($post);

    avner.

  5. avner.komarow
    Member
    Plugin Author

    Posted 10 months ago #

    it's been over a month.. I'm resolving this issue.

    if there is a need for further assessment, please feel totally free to re-open the issue (or open a new one).

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.