j0rdan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Get a Black Border around Imagelol! Sorry, I’ve been waiting to see if I can get something figured out. Figured I’d try to “solve-one”. You win. =)
Forum: Fixing WordPress
In reply to: Get a Black Border around ImageYou need to remove the border in your CSS.
div.entry-content img.alignleft, div.entry-content img.alignright, div.entry-content img.center {style.css (line 53) border:1px solid #000000; padding:0.2em;
change:
border: 1px solid #000000;
to
border: none;Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryHere is the original file. The lines we have been working with are towards the top. Of coarse that is me assuming that’s where I need to be looking.
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryI removed it and the page went into a syntax error. Is there something else I should take out?
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryOk, I got it to show the actual Category’s name. Not “Archive for “bla” Category”. I used
printf(single_cat_title('', false));
How can I make it so that there is no title from the category showing? I simply want my blog post to be the title. Ya know? PLEASE! So close yet so far.
Thank you
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” Categoryhttps://www.resourcetolife.com/?cat=1
there’s the link sorry
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryAlright moshu. I found it! I just need help w/ one little thing that maybe you would know. The link to the page is here–https://www.resourcetolife.com/?cat=1
here is the code
<?php /* Headlines for archives */ if ((!is_single() and !is_home()) or is_paged()) { ?> <h2> <?php // Figure out what kind of page is being shown if (is_category()) { if ($cat != $k2asidescategory) { printf(__, single_cat_title('', false)); } else { echo single_cat_title(); }
The line printf(__, single_cat_title(”, false)); is where I think I need to be focusing because I got rid of that stupid saying “Archive for “BLog Home” Category”. blah
But!!!! There is a line on the page right above a post. It is from the printf(__ part of the code. But, when I remove the line there is a syntax error. How can I remove the line without getting an error?
Thanks!
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryOk, no biggy. Thanks anyways.
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryYea I was there. I could find anything related to my problem. You’re good with this stuff, Do you have any idea from just looking at the site what I could do?
Forum: Fixing WordPress
In reply to: Archive for “Blog Home” CategoryThe archive.php is just bland. I studied the Hierarchy. Could you at least point me in the right direction for what I should focus on? Here is the archive.php.
<?php get_header(); ?> <div class="content"> <?php include (TEMPLATEPATH . '/leftsidebar.php'); ?> <div id="primary"> <div id="current-content"> <?php include (TEMPLATEPATH . '/rollingarchive.php'); ?> </div> <!-- #current-content --> <div id="dynamic-content"></div> </div> <!-- #primary --> <?php get_sidebar(); ?> </div> <!-- .content --> <?php get_footer(); ?>
SO I need to change something in there?
Forum: Fixing WordPress
In reply to: remove post countOk. Got it! Thank you for the help. I swear I read a thread who was instructing to change the core file.
Thanks
JordanForum: Fixing WordPress
In reply to: remove post countI was searching through other forms, and they said to edit the function. If that is not how you remove the post count after categories, can you tell me how?
Thanks
JordanForum: Fixing WordPress
In reply to: remove post countThanks for the quick response. I read your links, and was wondering if you could tell me what to alter with this code right here.
function wp_list_cats($args = '') { _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()'); $r = wp_parse_args( $args ); // Map to new names. if ( isset($r['optionall']) && isset($r['all'])) $r['show_option_all'] = $r['all']; if ( isset($r['sort_column']) ) $r['orderby'] = $r['sort_column']; if ( isset($r['sort_order']) ) $r['order'] = $r['sort_order']; if ( isset($r['optiondates']) ) $r['show_last_update'] = $r['optiondates']; if ( isset($r['optioncount']) ) $r['show_count'] = $r['optioncount']; if ( isset($r['list']) ) $r['style'] = $r['list'] ? 'list' : 'break'; $r['title_li'] = ''; return wp_list_categories($r); }
should I just detete the
$r[‘show_count’] = $r[‘optioncount’]; ????
Thanks
Forum: Fixing WordPress
In reply to: remove post countYes I’m new. I’m sure someone, somewhere has heart that is aching to help me! =) Fast learner. I’ve located the core file where the list-cats function is. Do I simply remove the
‘$optioncount = 0,’
or is it more in depth.
Jordan