ixall012
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to integrate blog 'page' on static WP site.. ?Thank you both, got it ! x
Forum: Fixing WordPress
In reply to: Create Dropdown menu for only ONE title ?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 ?
Forum: Fixing WordPress
In reply to: Create Dropdown menu for only ONE title ?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.Forum: Fixing WordPress
In reply to: Create Dropdown menu for only ONE title ?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 ?
Forum: Fixing WordPress
In reply to: Create Dropdown menu for only ONE title ?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 ?
Forum: Fixing WordPress
In reply to: Nav Bar – doing odd things !I figured it out … I was adding my web address into the code by mistake … : .
Forum: Fixing WordPress
In reply to: Hard to remove Meta data from excerptsI have worked it out now.
Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!Thank you I will start again …
Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!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.
Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!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
Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!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;Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!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.
Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!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 …
Forum: Fixing WordPress
In reply to: Syntax Errors .. HELP !!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 ?