Footer links opning in new window

  • Hello, I have a few questions regarding the footer. Data is in private section
    1. How to make links in the footer open in a new window?
    2. How to show this footer ONLY on the index page?
    3. How to remove this section here marked with a red arrow (copyright)

  • Hi there,

    1. The links in the footer appear to be menu items. Go to Appearance > Menus, then open Screen Options and enable the Link Target checkbox. After that, edit each menu item and check the Open link in a new tab option.

    See this screenshot for reference: https://cln.sh/1C6tCPwxPdv5RgvCYtk6

    2. Go to Appearance > Elements and create a new Layout Element. Under the Disable Elements tab, check the Footer option. Then, under Display Rules, set the Location to Front Page.

    3. Go to GeneratePress > Settings and make sure the Copyright module is enabled. Then go to Customize > Layout > Footer and clear the text in the Copyright field.

  • OK, starting to figure out but , while following these instructions, I am getting footer links on all pages, and it is disabled on the index. I need it to show only on the index.

    Also, copyright is still there even if I’ve deleted content

    https://i.postimg.cc/Dw7C4s9R/cleared-footer.png

  • When you say index, do you mean the blog and all archives?

    If so, try this CSS:

    .site-footer ul#menu-footer{
        display: none;
    }
    body:is(.archive,.blog) .site-footer ul#menu-footer {
        display: flex;
    }
  • I mean only the front page. I need links in the footer to show only on the front page.

    Also, when adding a layout element, there is no option for the “disable elements tab”.
    https://i.postimg.cc/9fmNKScW/1.png

    Now, when I’ve added CSS above, it seems almost fine, except for the copyright section that is still there.

  • Now, when I’ve added CSS above, it seems almost fine, except for the copyright section that is still there.

    Can you try entering some text in the Copyright field, then remove it and save the changes?

  • yeah, that worked on index page. There is still BUILT WITH GENERATEPRESS on other pages. How to remove that?

  • Try this CSS:

    .site-footer .copyright-bar {
       display: none;
    }
  • very good, working thanks.

  • Glad to hear that!

  • Hi, sorry, but I have the same question again for another website using the same configuration. I won’t open a new thread will just repeat the question (and put the URL in the private section):
    How to show the current footer menu only on the main (index) page (root)?

    thanks

  • @gpetar

    I am sorry for the hassle here but you would indeed need to open a new thread and provide your own URL so we can track the ticket better. Hope you understand.

  • Thank you so much!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.