ThemeShaper Forums » Thematic


Disabling menu editing with Front-end editor

(1 post)
  • Started 3 years ago by jcollier
  • This topic is not resolved
  1. I'm using Front-end editor with my Thematic child theme, and it works great!

    My only question is how to disable editing of the menu titles through FEE, since I use A1O-SEO to create menu titles which are shorter than the full post titles. When I activate title editing with the FEE, the full titles appear in the menu bar.

    The FEE developer suggested this:

    You can do something like this in your theme:

    add_filter( 'front_end_editor_allow_post', '__return_false' );

    // code that displays the menu

    remove_filter( 'front_end_editor_allow_post', '__return_false' );

    So, would I add a function in my child theme to replace the current generation of the access menu with this filter wrapped around it? (I admit, I can't get my head around the multiple filters.)

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.