• Resolved morena_loca

    (@morena_loca)


    Hello,
    I recently changed my Instagram username and I went to my website to change the URL in my social menu. I realized that the jetpack social menu was blank even if the icons were still showing at the bottom of my website.
    I added the following code to my footer.php
    <?php if ( function_exists( ‘jetpack_social_menu’ ) ) jetpack_social_menu(); ?>
    and the following code in my functions.php
    /*Jetpack social Menu */
    add_theme_support( ‘jetpack-social-menu’ );

    It used to work before. I don’t know if it broke after updating WP or Jetpack.

    I just recreated the menu with the links to my social media profiles but it seems like my website is not picking up the wrong social menu. I am not sure what I am doing wrong. I have cleared the cache and made sure the social menu is active on the theme.

    https://nadinetchepannou.com/

    Can you please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I just tested the Social Menu feature with the most recent version of Jetpack, and it appears to be working properly.

    I can see one little detail that may cause issues. Could you try to add the add_theme_support call inside a function that’s hooked to after_setup_theme, like so:

    /**
     * Add Jetpack Social Menu Support to the theme.
     *
     * @see https://jetpack.com/support/social-menu/
     */
    function jeherve_add_social_menu_support() {
    	add_theme_support( 'jetpack-social-menu' );
    }
    add_action( 'after_setup_theme', 'jeherve_add_social_menu_support' );

    You should then see the option to assign your menu to “Social Menu” under Appearance > Menus.

    Let me know how it goes!

    Thread Starter morena_loca

    (@morena_loca)

    Hey Jeremy,
    I remember that at some point I received a message when trying to access my admin saying: Database Update Required. I think that’s what caused the issue because I can see the social menu in my menu tab. It’s just that the menu is blank (I added new links before posting my previous message but nothing happened). After that, I also realized that all of my website pages are missing. I am totally freaking out.

    1) I double check the version of my DB in the version.php and on the DB and they match.
    2) I tried to deactivate all of the plugins
    Nothing worked.
    The pages appear in the database but not on my WP admin and therefore when you go to my website to land on a Home page with nothing in it. I am totally freaking out.

    I think there is a problem that is impacting both my Menu and my pages.

    Could you help please?

    Thread Starter morena_loca

    (@morena_loca)

    UPDATE

    I restored my database and deactivated all my plugins and reinstalled WP. I even deleted W3C Cache.

    It seems like when updating my database, all my pages, links from the social menu etc. were converted to posts. They are all showing up as posts.

    This is so frustrating I am not sure what to do. I dunno if it is the new WP update that just crashed my whole site. OMG :'(

    It just asked me to update my DB again for no reason. And this time, I got these error messages.

    WordPress database error: [Table ‘MYDATABASENAME.wp_categories’ doesn’t exist]
    SELECT * FROM wp_categories ORDER BY cat_ID
    WordPress database error: [Table ‘MYDATABASENAME.wp_post2cat’ doesn’t exist]
    SELECT post_id, category_id FROM wp_post2cat GROUP BY post_id, category_id
    WordPress database error: [Table ‘MYDATABASENAME.wp_linkcategories’ doesn’t exist]
    SELECT cat_id, cat_name FROM wp_linkcategories
    WordPress database error: [Unknown column ‘link_category’ in ‘field list’]
    SELECT link_id, link_category FROM wp_links

    • This reply was modified 7 years, 10 months ago by morena_loca.
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    It just asked me to update my DB again for no reason.

    This will happen whenever you update WordPress, and is to be expected. What should not happen, however, is for your database tables to be deleted! It seems that’s what happened for your site, since some of the tables are now missing.

    Could you try restoring a previous version of your database and WordPress files, from before the problem started, and then try to update again?

    Thread Starter morena_loca

    (@morena_loca)

    Hi

    I just restored a previous backup and now everything is back to where it is supposed to be. Thanks a lot for your help. OMG that was scary

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Social Menu not working’ is closed to new replies.