skymningslage
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] Problem with the plugin, "Posted by" has disappearedI think it is single.php that is the problem here.
Here is the code that was replaced:
<?php printf( __( 'Posted by %s on', 'linen' ), get_the_author()); ?>
How can I implement that into the code again?
Forum: Themes and Templates
In reply to: [Theme: Linen Pro] Problem with full width imagesThat did the trick! Thank you!
Forum: Themes and Templates
In reply to: [Theme: Linen Pro] Problem with full width imagesThanks for the reply. Should I just change the % to something higher or can add the specific px value? (900 px for example).
Forum: Themes and Templates
In reply to: [Theme: Linen Pro] Problem with full width imagesHave searched the code to try and find if I’ve missed something in the css but that seems to be ok, could there be some other kind of code blocking the full image from appearing?
Forum: Themes and Templates
In reply to: [Theme: Capricorn] Table won't centerYou Sir or Madam are a lifesaver, that worked perfectly!
Thank you very much!
Forum: Themes and Templates
In reply to: [Theme: Capricorn] Table won't centerOk but the thing is that I want three items per row in the table.
Apparently the table does center when I change the wrapper to 1100px but then the rest of the site is too wide.
The wrapper is located in the header.php and my table is in one page using the page.php template, I don’t see how I possibly could move the template outside the “wrapper” code.
Perhaps a custom page template is a way around this problem?
Forum: Themes and Templates
In reply to: [Theme: Capricorn] Table won't centerIn my browsers at home (Safari, Firefox, IE) the table fits but it is not centered.
Even if I change the wrapper to 1100px the table does not center. However if I change the “post” width to 1100 the table centers but then the posts are off instead.I don’t understand what you mean by using <tr> and <div>, I am using <tr> in the table already.
Forum: Fixing WordPress
In reply to: Posts per page in categories.This is archive.php (the first part anyway)
<?php get_header( ); ?> <div id="container"> <div id="content"> <h1 class="page-title"> <?php if ( is_day() ) : ?> <?php printf( __( 'Daily Archives: <span>%s</span>', 'codium_extend' ), get_the_date() ); ?> <?php elseif ( is_month() ) : ?> <?php printf( __( 'Monthly Archives: <span>%s</span>', 'codium_extend' ), get_the_date('F Y') ); ?> <?php elseif ( is_year() ) : ?> <?php printf( __( 'Yearly Archives: <span>%s</span>', 'codium_extend' ), get_the_date('Y') ); ?> <?php else : ?> <?php _e( 'Blog Archives', 'codium_extend' ); ?> <?php endif; ?> </h1> <div class="linebreak clear"></div> <?php if (have_posts()) : ?> <?php rewind_posts(); while (have_posts()) : the_post(); ?> <div class="dp100"> <span <?php body_class('cat-links'); ?>><?php printf(__('%s', 'codium_extend'), get_the_category_list(' ')) ?></span> </div>
Is it somewere here I change the code?
I have been hearing about “loops” could that help?Forum: Fixing WordPress
In reply to: Posts per page in categories.I tried that but it did not work or I put the code in at the wrong place.
Forum: Fixing WordPress
In reply to: Posts per page in categories.I have been fiddling around in the code in archive.php and category.php, it ended up with me having to restore them. Any ideas on how to solve this?
Forum: Fixing WordPress
In reply to: Posts per page in categories.Any ideas?
Forum: Fixing WordPress
In reply to: Posts per page in categories.Could this be the issue? (functions.php)
// For category lists on category archives: Returns other categories except the current one (redundant) function codium_extend_cats_meow($glue) { $current_cat = single_cat_title( '', false ); $separator = "\n"; $cats = explode( $separator, get_the_category_list($separator) ); foreach ( $cats as $i => $str ) { if ( strstr( $str, ">$current_cat<" ) ) { unset($cats[$i]); break; } } if ( empty($cats) ) return false; return trim(join( $glue, $cats )); }