ThemeShaper Forums » Power Blog


Add Home link to Pages Widget

(6 posts)
  1. B1gJ4k3

    Pretty simple. How can I get a link to the home page (or other arbitrary pages for that matter) into the pages sidebar widget?

    Posted 4 years ago #
  2. B1gJ4k3

    Well, I found the function that does it in the functions.php file, but that doesn't seem to do anything.... It's set like it should be, I guess...

    // Adds a home link to your menu
    function childtheme_menu_args($args) {
    $args = array(
    'show_home' => 'Home',
    'sort_column' => 'menu_order',
    'menu_class' => 'menu',
    'echo' => true
    return $args;

    Posted 4 years ago #
  3. B1gJ4k3

    That seems to only display it in the main nav NOT the pages widget. Anybody? Bueller? Bueller?

    Posted 4 years ago #
  4. rmb

    I just found this solution at the link below and it worked for me:

    1) login to your wordpress dashboard and create a new page blank page
    2) in the page title section, put an HTML link to your home page
    3) save and publish the blank page and the Home link should appear right under your pages widget in the sidebar

    Posted 4 years ago #
  5. rmb

    Actually, I just came across a better solution of downloading the Flexi Pages Plugin:

    Posted 4 years ago #
  6. :) .. you were faster.

    Flexi Pages Widget is what I recommend.


    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.