How to configure social media links in menu?

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 11 replies, has 3 voices, and was last updated by  Jacob 2 years, 4 months ago.

  • Author
    Posts
  • #3599

    dromero1
    Member
    Post count: 11

    Hello,

    I need to add social media links to my header menu, I am using the same menu for Main, Mobile and Top menu, but for some reason the mobile version has social media links on the bottom and the normal one doesn’t.

    I want to be able to have those links in all my menus and also know where to configure the links for my social media pages as I can’t seem to find a place in the wp-admin where to do that. In case it’s not possible to add them from wp-admin, what file should I modify?

    Also, I have a 2 column layout in my main page and my sidebar works normally, but when I add content to my left column, the sidebar for some reason gets pushed to the right by bootstrap added classes. I can’t seem to find why or where are these classes added, but it ruins the layout of my site. The content I add to the left is custom but it’s perfectly fit for responsive layouts.

  • #3612

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3623

    dromero1
    Member
    Post count: 11

    Hello Jacob,

    I found the Social Links Position thanks for that, though I consider it should be more visible in terms of access as it is important.

    As for the sidebar issue it happens only in the Index page.

    http://grancinema.zebradm.mx/

    The content I add is custom on the left but as you can see the css is perfectly fine. When I remove the content just to see what happens the sidebar is displayed without problems and doesn’t have the bootstrap classes I mentioned. As I am handling ads on the right side is there any way to configure it so that the banner doesn’t get hidden on smaller screen rather then moved below the left column?

  • #3624

    dromero1
    Member
    Post count: 11

    Also, is there a way to add more networks like Instagram, Pinterest etc? If not from the admin which file could I edit?

  • #3625

    dromero1
    Member
    Post count: 11

    Also :), which file should I edit to customize the footer content? I want to fully customize it.

  • #3642

    dromero1
    Member
    Post count: 11

    Ok, I found out that it does work but I still get the Back to top button which I want to remove, what function do I override to completely customize the footer?

    Also, I used the unset functions but they affect everything, I tried overriding yt_site_primary_class because I need to change the layout like this

    $classes[] = 'col-sm-12';
    //$classes[] = 'col-sm-push-3';
    			
    $classes[] = 'col-md-9';
    //$classes[] = 'col-md-push-2';
    			
    $classes[] = 'col-lg-9';
    //$classes[] = 'col-lg-push-2';

    The thing is that it doesn’t do anything even if I rewrite the regular function. Which is causing issues in my layouts since I removed the push classes in the sidebar: http://grancinema.zebradm.mx/back-in-time-de-los-posters-de-peliculas-disney/

    I urgently need to fix that.

    • #3644

      dromero1
      Member
      Post count: 11

      I have disabled the issue in the meantime but I do need to know how to override the default primary classes.

  • #3650

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

    • #3654

      dromero1
      Member
      Post count: 11

      Hello @Maxxi,

      As I commented earlier I saw that the function was working with a different name. The problem is that it’s just overriding the inside of the footer, not the entire footer. I want to be able to do that, I don’t need the back to top link. How can I do that?

      Thanks for the 2 column layout that fixed it.

      EDIT:

      Also, I need to know what function is used to generate the color labels for the post category used when the hero banner is activated. I need to use it in a different context.

      • This reply was modified 2 years, 4 months ago by  dromero1. Reason: additional question
      • This reply was modified 2 years, 4 months ago by  dromero1. Reason: additional question
  • #3661

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3630

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3640

    dromero1
    Member
    Post count: 11

    Hello @jacob,

    I add the action:
    add_action( 'yt_inside_footer', 'yt_site_footer', 10);

    function yt_inside_footer() { }

    But insted of an empty footer I get this

    Cannot redeclare yt_inside_footer()
    (previously declared in /....../wp-content/
    themes/yeahthemes-sparkle/framework/
    yt-admin-hooks.php:207)
    • This reply was modified 2 years, 4 months ago by  dromero1.
    • This reply was modified 2 years, 4 months ago by  dromero1.

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!