Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter ixall012

    (@ixall012)

    Thank you both, got it ! x

    Thread Starter ixall012

    (@ixall012)

    I have added

    ` <li><a href=”shop”>SHOP</a>
    </li>
    <ul>
    <li><a href=”stockiests/”>STOCKIESTS</a></li>
    </ul>`

    Under SHOPS tab, but it doesn’t seem to create a drop down. It only adds another menu tab !

    Is it my theme which is disallowing this code to work do you think ?

    Thread Starter ixall012

    (@ixall012)

    I don’t need it to be different, depending on which page you are on thanks.
    It just needs to be exactly the same, where ever you are.
    Thank you though.

    Thread Starter ixall012

    (@ixall012)

    This is my menue code:

    <div id="navmenu">
    
    <ul>
    <li><a>">HOME</a></li>
    <li><a href="images/">IMAGES</a></li>
    <li><a href="biography/">BIOGRAPHY</a></li>
    <li><a href="shop">SHOP</a></li>
    <li><a href="contact/">CONTACT</a></li>
    </ul>
    </div>

    Can I insert code to make, “shop” title drop down ?

    Just a simple piece of HTML ?

    Thread Starter ixall012

    (@ixall012)

    Thank you – I’m not familiar with that way.

    I have now find my menu code in ‘Header.PHP”

    Could I add some code below on if the titles to drop down another set of options pls ?

    Thread Starter ixall012

    (@ixall012)

    I figured it out … I was adding my web address into the code by mistake … : .

    Thread Starter ixall012

    (@ixall012)

    I have worked it out now.

    Thread Starter ixall012

    (@ixall012)

    Thank you I will start again …

    Thread Starter ixall012

    (@ixall012)

    Thanks I have tried this but it still does not work.
    I think I probably was editing the /wp-content/THEME_FOLDER/function.php, but now I seem to have changed the wp-includes function.php.

    Not sure why I switched, I think it may be due to what the error message was saying.

    I have uploaded the one function.php file, that I can download from the Twenty Ten Theme. I uploaded it to both places … is this correct ?

    It is now saying Fatal error: Call to undefined function add_action() in /home/ixall012/public_html/www.ume-collection.co.uk/wp-includes/functions.php on line 51

    Is my site dead ? : (

    thanks for your help.

    Thread Starter ixall012

    (@ixall012)

    it is now saying

    Parse error: syntax error, unexpected T_FUNCTION in /home/ixall012/public_html/www.ume-collection.co.uk/wp-includes/functions.php on line 489

    Thread Starter ixall012

    (@ixall012)

    the whole last code looks like this:

    );
    }
    endif;

    if ( ! function_exists( 'twentyten_posted_in' ) ) :
    /**
    * Prints HTML with meta information for the current post (category, tags and permalink).
    *
    * @since Twenty Ten 1.0
    */
    function twentyten_posted_in() {
    // Retrieves tag list of current post, separated by commas.
    $tag_list = get_the_tag_list( '', ', ' );
    if ( $tag_list ) {
    $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'twentyten' );
    } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) {
    $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyten' );
    } else {
    $posted_in = __( 'Bookmark the permalink.', 'twentyten' );
    }
    // Prints the string, replacing the placeholders.
    printf(
    $posted_in,
    get_the_category_list( ', ' ),
    $tag_list,
    get_permalink(),
    the_title_attribute( 'echo=0' )
    );
    }
    endif;

    Thread Starter ixall012

    (@ixall012)

    Thank you – I have replaced that code and uploaded again to my WP-Includes file on my Cpanel- but it still does not work.

    I’m really scared now, as I can’t see my whole website !
    What do you think I am doing wrong please ?

    Thanks again for your kind help.

    Thread Starter ixall012

    (@ixall012)

    OK I edited the last couple of lines, of functions php, however have pasted several of the last lines, so you can see where we are:

    I have deleted the content I put in there ( I was trying to remove meta data) but I think I must have moved something.

    It says: Parse error: syntax error, unexpected ‘.’ in /home/ixall012/public_html/www.ume-collection.co.uk/wp-content/themes/imbalance/functions.php on line 198″

    I can’t see a dot …. also on dreamweaver it is not line 198 but line 506 !!

    …. CODE BEGINS

    $posted_in = __( ‘Bookmark the permalink.’, ‘twentyten’ );
    }
    // Prints the string, replacing the placeholders.
    printf(
    $posted_in,
    get_the_category_list( ‘, ‘ ),
    $tag_list,
    get_permalink(),
    the_title_attribute( ‘echo=0’ )
    );
    }
    endif;

    CODE ENDS …

    Thread Starter ixall012

    (@ixall012)

    thanks for your offer of help …

    I cannot revisit the page, as it seems to have effected my whole site.

    Should I try to log in to the ‘functions php’ file from my Cpanel website …, as I can’t see it from wordpress ?

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