callender
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do i link a thumbnail on category/home page to the post?I have figured this out.
http://codex.wordpress.org/Category_Templates#Display_Images_Linking_to_Full_Posts
<a href="<?php the_permalink() ?>"><?php the_post_thumbnail('thumbnail'); ?></a>Forum: Fixing WordPress
In reply to: Different layout for page if certain categorythats great thank you madjax..
Forum: Fixing WordPress
In reply to: Show title and thumbnails only for category pagethanks forunner. I ended up using the ref here:
http://codex.wordpress.org/Function_Reference/the_post_thumbnail
<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>"> <div class="entry-content"> <?php the_post_thumbnail('thumbnail'); ?> </div>Forum: Fixing WordPress
In reply to: Show title and thumbnails only for category pageMany thanks for your reply forunner.
As I am not a expert php dev could you provide an example of code?
eg: If cat id8, return title and thumbnail only.
This goes into the category loop.
http://codex.wordpress.org/Function_Reference/get_the_post_thumbnail
Many thanks!
Jim
Forum: Fixing WordPress
In reply to: Highlight menu tabany ideas?
Forum: Fixing WordPress
In reply to: Add spans to generated menuyep that worked indeed! many thanks!! you rock!! 🙂
Forum: Fixing WordPress
In reply to: Add spans to generated menuI’m using WP3.0 RC.
Which file should i be looking at?
wp-includes/post-template.php?
function wp_link_pages($args = '') { $defaults = array( 'before' => '<p>' . __('Pages:'), 'after' => '</p>', 'link_before' => '', 'link_after' => '', 'next_or_number' => 'number', 'nextpagelink' => __('Next page'), 'previouspagelink' => __('Previous page'), 'pagelink' => '%', 'echo' => 1 );Forum: Fixing WordPress
In reply to: Add spans to generated menuHi Voodoo,
link_before=<span>&link_after=</span>?I am not sure how implement this, correct – this is the piece of code i need to insert.
Fine with coding, but not with PHP.. Could you show me the exact code..
Many thanks for any advice. 🙂
Forum: Fixing WordPress
In reply to: Add spans to generated menuGreat, that bit it clear, but I think i will need to add a span to the dynamic code of the menu?
Forum: Fixing WordPress
In reply to: Add spans to generated menuThats not really what I’m after – at least i dont think so.
Here is the link to the page in question:
http://testbed.callendercreates.com/chase/Need a span to put rounded corners on right hand side of menu/nav.
Thanks again for your help.
Forum: Fixing WordPress
In reply to: Add spans to generated menuMany thanks for your comment.
This is the index file – please could you provide an example?
Thank you, Jim.
===
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file exists. * Learn more: http://codex.wordpress.org/Template_Hierarchy */ ?> <?php get_header(); ?> <div id="container"> <div id="content" role="main"> <?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-index.php and that will be used instead. */ get_template_part( 'loop', 'index' ); ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Add spans to generated menuIt’s basically so i can add rounded corners to a menu on a web site. has to be supported in IE so can’t be CSS3.
Forum: Fixing WordPress
In reply to: Add spans to generated menuThe code should be
<li><a><span>link title</span></a></li>.Forum: Installing WordPress
In reply to: Localhost to staging serverit was a localhost reference in the wp-options in the DB..
Forum: Themes and Templates
In reply to: best translation tool plugin?thanks Sam!