• Resolved cookingwithlei

    (@cookingwithlei)


    Hi, Ben:

    Is it possible to add a page link above or under: :Founder WordPress Theme by Compete Themes” ?

    I want to put the privacy policy there. At the moment it is next to About.

    Thanks,

    Lei

Viewing 6 replies - 1 through 6 (of 6 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello cookingwithlei,

    Here is three methods for it. You need to add below code into your current theme’s functions.php file located at you_domian/wp-content/themes/founder/ folder.

    Method-1 :

    
     add_action( 'footer_top', 'my_footer_link' );
     function my_footer_link() {
       echo "<a href=\"your_link\">Link Name</a>";
     }
    

    Method-2 :

    
     add_action( 'body_bottom', 'my_footer_link' );
     function my_footer_link() {
       echo "<a href=\"your_link\">Link Name</a>";
     }
    

    Method-3 :

    
     add_filter( 'ct_founder_footer_text', 'my_footer_text' );
     function my_footer_text( $text ){
       $text = "<a href=\"your_link\">Link Name</a>";
       return $text;
     }
    

    Note : All Changes you done in funtions.php or other file are gone when you update theme. So prefer Child Theme

    Hope this will helps you.

    Theme Author Ben Sibley

    (@bensibley)

    Hi Lei,

    When adding new content to the template, a child theme will be required. The solutions that Addweb has provided will each work well (thank you!).

    Check out this tutorial for using child themes with Founder. There is a starter child theme you can download there. You can then copy and paste any of the above PHP snippets into the child theme, and then upload it to your site.

    If you’re not comfortable working with a child theme, I can create it for you if you let me know which position you want the link to be in along with the link text and URL.

    • This reply was modified 9 years, 5 months ago by Ben Sibley.
    • This reply was modified 9 years, 5 months ago by Ben Sibley.
    Thread Starter cookingwithlei

    (@cookingwithlei)

    Thanks for your wonderful support!

    I added the link at the end the page in the child theme. It works very well.

    As it setup as a page, it also appears next to “About” on the top of the webpage. How can I remove it there?

    Thanks,

    Lei

    Theme Author Ben Sibley

    (@bensibley)

    Great glad to hear it!

    WordPress will automatically add all pages on the site to the menu. You can choose exactly which pages you want to show by creating a custom menu. Here’s a tutorial on creating custom menus with Founder you can follow to do this.

    Thread Starter cookingwithlei

    (@cookingwithlei)

    It works. Thanks, Ben!

    Lei

    Theme Author Ben Sibley

    (@bensibley)

    Sure thing!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘page link’ is closed to new replies.