ThemeShaper Forums » Thematic


Conditional statement to move #access on homepage

(2 posts)
  • Started 11 years ago by elderberry
  • Latest reply from Danieliser
  • This topic is not resolved
  1. elderberry

    Hi All, still hopeless with php. Just want to move the #access div to a different location on the homepage only. I can use css and body.home #access to style it into a new location, but I really really would like to get a clue about using action hooks... Thought this would work:

    // #access from Header to abovefooter on homepage
    function move_menu() {
    if (is_front_page()){
    add_action('init', 'move_menu');

    Posted 11 years ago #
  2. Danieliser

    Not at my computer right now but this might be the problem, missing add_action priority.


    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.