Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmm, plugin conflicts can be tricky sometimes. I’ll look into it and see what I can do, and follow up with them if needed. Thanks for letting me know.

    Hi vitaljik,

    I took a look at this today. WP Local SEO hooks into the_content filter and then flushes the output buffer. This causes problems with the way that Food and Drink Menu compiles and displays your menu. WP Local SEO only hooks into default posts and pages, so this only effects the menu when you’ve added it to a page using the shortcode.

    I found four possible workarounds depending on your needs and skill level:

    1. Under Settings > WP Local SEO you’ll find an option at the very bottom called “Append template automatically”. Uncheck this box and it will not automatically append the location information to every single post/page/post-type. You’ll then need to add the location information manually to any post/page that you want using their shortcode [wp_localseo ].

    2. Under Settings > WP Local SEO you’ll find an option at the top to switch to Advanced mode, where you’ll be able to save multiple locations as posts. Be careful, this can only be reversed by resetting the entire plugin. I believe it’s designed for multi-venue businesses, so it may not be appropriate for your needs.

    3. This method requires experience modifying your theme template files. WP Local SEO won’t automatically enable location data on the menu post type pages registered by Food and Drink Menu. So instead of using the [fdm-menu] shortcode in a page, you can link directly to the menu itself as the page. Most people don’t do this only because the menu post type will use the regular blog post template.

    You can replace this template by copying your page.php template file and naming the copy single-fdm-menu.php. This should create a menu template file just like your page template. However, it may need some adjustments depending on your theme.

    Hopefully one of those solutions will work for you.

    Thread Starter vitaljik

    (@vitaljik)

    Thank you you for your help Nate! I have found as well as you that the _content filter is causing the issue. I am using the first option you described. If you come to Valencia someday, let me know, beers are on me. Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incompatability with WordPress Local SEO’ is closed to new replies.