agileArt
Forum Replies Created
-
Hello Kathryn, I appreciate that advice but want to avoid plugins and would like to remove it by editing the wp php code.
that being said i am creating the site by child theme.
thank you
DForum: Fixing WordPress
In reply to: how do i order posts per widget.Thank you WPyogi, will do.
however i’d think this would apply to any theme.
As it relates more to ordering and displaying posts.Forum: Fixing WordPress
In reply to: remove selected info from header in specific pagesThank you alchymyth will go try it out.
so for example if i wanted to have the_title on everything but the index page i’d have to list every page?
is there a way to do it so it says if it is the index page, don’t add the title tag?Forum: Fixing WordPress
In reply to: breadcrumbs function not working.just answered my own question. Deleted
echo '<li><a href="'. get_settings('home') .'">'. get_bloginfo('name') .'</a></li>';worked (hope it won’t break anything later on)
Forum: Fixing WordPress
In reply to: breadcrumbs function not working.that is of course the home link. how can i put an image (mini logo mabye) there instead?
echo '<li><a href="'. get_settings('home') .'">'. get_bloginfo('name') .'</a></li>';
or if I delete this will it wipe out the entire function?Forum: Fixing WordPress
In reply to: breadcrumbs function not working.not sure then but the new function i posted the link to is working fine.
only thing, it creates three links. the top one remains empty. As i put the get_breadcrumbs call only on the third level pages. so not sure how to populate the top link?
any advice please?
thx
DForum: Fixing WordPress
In reply to: breadcrumbs function not working.Hey grphical. Actually I belive that is it.
so while i’d be curious to find out a found a better function (seems to work so far) at http://gilbert.pellegrom.me/how-to-breadcrumbs-in-wordpressForum: Themes and Templates
In reply to: wp is adding empty tags to the entrythanks Stacy, i’ll take a look but I don’t have the extra p tag show up in editor.
DForum: Themes and Templates
In reply to: wp is adding empty tags to the entryboth actually.
Forum: Themes and Templates
In reply to: not all my thumbnails are showing upHey Jonathan, thanks for replying. I went and triple checked my code I have the same settings that are in the functioning page.
<div class="span4"> <?php the_post_thumbnail( 'category-thumb' ); ?> <a class="readMore" href="<?php the_permalink(); ?>">read more</a> </div>I also tried going to the post, & use the add media & insert the image that way but of course it didn’t work.
Forum: Themes and Templates
In reply to: page doesn't recongize one of the subtemplates cssok thx will look into it.
Forum: Themes and Templates
In reply to: page doesn't recongize one of the subtemplates cssPaulwpxp thank you that worked.
but as I am still fairly new to wp you kinda loose me with the jargon.
for example when you sayit’s recommended to prefix function name with theme’s short name.
I am not at all sure what this means.
would you mind writing a sample of the way it should be using my code please?
thx
DForum: Themes and Templates
In reply to: page doesn't recongize one of the subtemplates cssnope. still not working
//load subtemplate level3and4 function l3_style() { if( is_page_template('l3sub.php') ) : wp_register_style('l3_style', get_stylesheet_directory_uri() . '/css/l3.css', array(), '', 'all' ); wp_enqueue_style( 'l3_style' ); endif; } add_action('wp_enqueue_scripts', 'l3_style');Forum: Themes and Templates
In reply to: page doesn't recongize one of the subtemplates csssorry no idea what you mean is the example above incorrect then?
do you mean.
wp_register_style('l3_style', get_stylesheet_directory_uri() . '/css/l3.css', array(), '', 'all' );
thx
DForum: Themes and Templates
In reply to: page doesn't recongize one of the subtemplates cssdo you mean like:
function l3_style() { if( is_page_template('l3sub.php') ) : wp_register_style('my-style', get_stylesheet_directory_uri() . '/css/l3.css', array(), '', 'all' ); wp_enqueue_style( 'l3_style' ); endif; } add_action('wp_enqueue_scripts', 'l3_style');