cangpo
Forum Replies Created
-
Forum: Plugins
In reply to: [Sideways8 Simple Taxonomy Images] List all tags with thumbnail and tag name<?php $image_html = s8_get_taxonomy_image(get_term( $your_tax_var->term_id, $your_tax_var->taxonomy ), $size); echo $image_html; ?>
Forum: Plugins
In reply to: [Taxonomy Meta] Plugin brokenHey Joshuwar, thanks for answer, those errors don’t appear.
WYSIWYG field still have some “bugs”, so expecting plugin update to fix this ??Forum: Themes and Templates
In reply to: TwentyTen theme – sidebar not showing on certain pagesYou are welcome. The onecolumn-page.php eats your sidebar ??
Forum: Hacks
In reply to: Displaying random posts on my main pageYou need the paginator?
Forum: Hacks
In reply to: Displaying random posts on my main page<?php $index_query = new WP_Query('post_type=post&showposts=10&orderby=rand'); ?> <?php while ($index_query->have_posts()) : $index_query->the_post(); ?> code here... <?php endwhile; ?>
Forum: Themes and Templates
In reply to: TwentyTen theme – sidebar not showing on certain pagesThrought your ftp, just delete file this file ?? (copy it on computer, for be sure)
Forum: Themes and Templates
In reply to: TwentyTen theme – sidebar not showing on certain pagesHow it’s going? ??
Forum: Hacks
In reply to: Displaying random posts on my main pageYou need to create custom query loop with posts, and change order to random.
Forum: Themes and Templates
In reply to: TwentyTen theme – sidebar not showing on certain pagesOn https://home.ybusagreen.org/?page_id=8 . Html tag body have a class
page-template-onecolumn-page-php , so it’s a Page Template. Ok, let’s try to delete it. Go to yoursite.com/wp-content/themes/themename/ search for onecolumn-page.php or something like this and delete it.Forum: Themes and Templates
In reply to: TwentyTen theme – sidebar not showing on certain pagesIn admin menu. Go to “Pages”, open your page and in right corner you will see “Page Attributes” meta-box, there is “Parent, Template, Order”. You need “Template”. Select to “Default Template” and save your page.
Forum: Hacks
In reply to: Displaying Posts with Custom Taxonomies<?php $args = array ( 'taxonomy' => 'session' ); $categories = get_categories($args); foreach ($categories as $cat) : ?> <?php $index_query = new WP_Query('post_type=post&showposts=1&session='.$cat->slug.''); ?> <?php while ($index_query->have_posts()) : $index_query->the_post(); ?> <p><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> <?php endwhile; ?> <?php endforeach; ?>
Forum: Themes and Templates
In reply to: TwentyTen theme – sidebar not showing on certain pagesYou have a page template on https://home.ybusagreen.org/?page_id=8 (one column page) and there is no sidebar. ?? Change it to default page template.
Forum: Fixing WordPress
In reply to: Reinstalled wordpressIt’s probably could be, that you dont have wp-config.php with all “info” (like
define('DB_NAME', 'database_name_here');
)Forum: Fixing WordPress
In reply to: I rremoved "entry-titles" but they still get creditYou are welcome, <h1> tags are very common in the theme, not only in loop-page.php and loop-single.php. Like zoonini said
heading tags like <h1> and <h2> are in the HTML contained in your theme files – index.php, single.php, loop.php, etc.
Forum: Fixing WordPress
In reply to: I rremoved "entry-titles" but they still get creditYes, in loop-page.php
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_front_page() ) { ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php } else { ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php } ?>
Also in loop-single.php
<h1 class="entry-title"><?php the_title(); ?></h1>