• I’m using the Static Page Plugin and I can’t for the life of me figure out how to remove the Title – Home and the static date below it.

    Thanks
    mliving

Viewing 15 replies - 1 through 15 (of 20 total)
  • well, if you are using my theme, you can simply set the home page’s title to nothing, and the theme will react by automatically removing both. if you are using another theme, you’ll need to create a home.php file, based on page.php, and remove the post title and post date in there.

    Thread Starter mliving

    (@mliving)

    No, I’m using my own theme.

    When I create the home.php file where do I put it and how does your plugin find it?

    Thanks for your patience!

    mliving

    Thread Starter mliving

    (@mliving)

    Got it!

    Man, I am really starting to like this WordPress thingy! ??

    Thanks

    Thread Starter mliving

    (@mliving)

    Ok I gotthe home.php page working great but when you use the Home link on the sidebar from any other page but the front – home.php page the page title – Home appears on the front page.

    https://www.cupesudbury.org/

    Click a Page link then click the Home link to see what I mean.

    Any suggestions would be greatly appreciated

    I cannot reproduce the bug… did you download the latest version of wordpress and of the plugin?

    Thread Starter mliving

    (@mliving)

    Yes I have the latest of both WordPress and the Static Page plugin.

    Any suggestions?

    Thanks
    mliving

    your wp is not up to date. the plugin’s latest version is 1.2.2.

    if it doesn’t work, i’ve sincerily no clue. check if you’ve got other filters toying with the ‘page_link’ hook.

    Thread Starter mliving

    (@mliving)

    I downloaded the “latest” version of WP and the plugin.

    WP has been updated on my internal test server and has not corrected the problem.

    When I downloaded and installed the “latest” Static Page Plugin the version number (1.2.1) did not change after install.

    Any ideas?

    Thanks
    mliving

    Thread Starter mliving

    (@mliving)

    The plugin version on your website is 1.2.1 and the date is April 27.

    Where do I get the latest version of your plugin?

    Thanks
    mliving

    My bad… I apparently forgot to update it last time I switched version.

    https://www.semiologic.com/res/sem-static-front.zip

    Thread Starter mliving

    (@mliving)

    Thanks!

    Thread Starter mliving

    (@mliving)

    Unfortunately upgrading WP and the Static Page plugin di not resolve the problem.

    Is there some way I can force the “Home” link on the sidebar to use the “home.php” instead of the “index.php” when clicking a sidebar link to home if the user is not on the actual home page?

    Currently the Home link on any other page but the home page using the following link: https://www.cupesudbury.org/?page_id=7

    Again, any suggestions would be greatly appreciated.

    Regards
    mliving

    I’m afraid I cannot reproduce, no matter how hard I try.

    Technically, I’m using the the_permalink hook with a function that goes, more or less: if id is that of home page, return site url; else return normal permalink.

    As far as I can tell, it is the right thing to do, and it works. So, if it doesn’t work on your system, my guess is that you’ve a second function that is messing up the same hook somehow.

    Thread Starter mliving

    (@mliving)

    This is the line that seems to be cusing the problem in hte sidebar.php file:

    <?php wp_list_pages(‘sort_column=menu_order&title_li=<h2>

    Can I modify this line to force the “Home” link to always use the home.php file?

    Thanks
    mliving

    well, yes, you can certainly exclude the home page from the list using the exclude argument, and then change the title_li to add a link to your home page.

    then again, it would be nice of you, if only for the sake of letting me update my FAQ, to locate the source of the problem.

    for one thing, try to see if using wp_list_pages() to see if that works. also, check if a plugin is causing a problem on your site by deactivating them all except static front page, then reactivating them one by one.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Static Date on ‘Home’ Page’ is closed to new replies.