Welcome to our blog! Here you can find stuff about web development, software engineering, WordPress & about our projects and interests.
By default, when you click on the Read More link, the web page loads and then “jumps” to the spot where the <–more–> tag is set in the post. If you do not want that “jump”, you can use this code in your theme’s functions.php:
function remove_more_jump_link($link) { $offset = strpos($link, '#more-'); if ($offset) { $end = strpos($link, '"',$offset); } if ($end) { $link = substr_replace($link, '', $offset, $end-$offset); } return $link; } add_filter('the_content_more_link', 'remove_more_jump_link');
First, there are twotypes of files – .mo and .po (in your wordpress languages and in your themes)
You could edit the .po file directly with any editor and then use poedit to generate the binaty .mo files.
This function will return the theme directory URL so you can use it in other functions:
get_bloginfo('template_directory');
Alternatively, this function will echo the theme directory URL to the browser:
bloginfo('template_directory');
So an example for an image in the themes images/headers
folder would be:
<img src="<?php bloginfo('template_directory'); ?>/images/headers/image.jpg" />
Easy answer for most installations:
There are probably lots of solution in the net but I think this plugin is fastest and the easiest one: http://wordpress.org/extend/plugins/comment-link-manager/
How to style wordpress default comment form for TwentyTen?
Published by admin on 9 Oct ’10Go to your theme open comments.php if you have one:
and find the line:
comment_form();
Replace it with this code which you could change as you like:
For more information check the wordpress docs: http://codex.wordpress.org/Template_Tags/comment_form