jkovis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Filtering loop by category and custom post typeI’m a little confused here…are you trying to combine multiple taxonomy queries?
If yes, you need to supply one array for each taxonomy you want to query for and supply a
'relation'value to tell WordPress how to group the taxonomy (AND, OR$tab_one_args = array( 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'category', 'field' => 'slug', 'terms' => 'news', ), array( 'taxonomy' => 'nomartsit', 'field' => 'slug', 'terms' => $tax_term, ) ) ) $tab_one_query = new WP_Query( $tab_one_args );Forum: Fixing WordPress
In reply to: Pages Widget – Bolding Current PageThere should be a style.css file in your theme’s folder, try adding the following to the bottom of it:
.widget_pages .current_page_item { font-weight: bold; }You may also be able to edit the style.css file via yoursiteurl.com/wp-admin/theme-editor.php
Forum: Fixing WordPress
In reply to: Remove Header Image fromI’m not sure what you mean in #1 but to remove the tags look for something like the following in home.php or index.php
<p class="postmetadata">Tags: <?php the_tags(); ?><br></p>Forum: Fixing WordPress
In reply to: wp-admin javascript is broken from load-scripts.phpDoes this still happen if you switch to the twentyten theme?
If no, check your theme’s functions.php file for something like:
wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js'); wp_enqueue_script( 'jquery' );and change it to:
if (!is_admin()) { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js'); wp_enqueue_script( 'jquery' ); }Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_STRING…It looks like halfdane.dk is running PHP 4.4.9 while the “Add to Header” plugin requires PHP 5.
Forum: Fixing WordPress
In reply to: Pages Widget – Bolding Current PageThe pages widget calls wp_list_pages()
Under “Markup and styling of page items” it says that the current page has a class of “current_page_item” so you would need to add a CSS style to
.current_page_item(making sure you target inside the widget).Forum: Fixing WordPress
In reply to: Blog posts do not have unique linksCan you post your site URL?
Forum: Fixing WordPress
In reply to: Filtering loop by category and custom post typeAre you doing something similar to what is described under “Multiple Taxonomy Handling” on the WP_Query() page?
Forum: Fixing WordPress
In reply to: Comments redirectWhoops, it looks like I told you to remove the wrong part…remove just the
li-part, leavingcomment-<?php comment_id(); ?>After leaving a comment you are redirected to http://yoursiteurl.com/#comment-#### where #### is the comment id.
Forum: Fixing WordPress
In reply to: Comments redirectI just tried to take another look at your site but it’s not loading right now.
Forum: Fixing WordPress
In reply to: Filtering loop by category and custom post typeHave you tried using a new WP_Query() for each tab?
Something like
new WP_Query($specific_query_args)should work.Forum: Fixing WordPress
In reply to: How to create a list of posts for a given tag — within a page?There may be a plugin that does this, but if not It will take bit of php code, something like:
<?php $swing_posts = new WP_Query( 'tag=swings' ); if ( $swing_posts->have_posts() ) : ?> <ul id="swing-posts"> <?php while ($swing_posts->have_posts()) : $swing_posts->the_post(); ?> <!-- display each swing post --> <li class="swing-post"> <a href="<?php echo $swing_posts->permalink; ?>"> <?php echo $swing_posts->post_title; ?> </a> </li> <?php endwhile; ?> </ul><!-- #swing-posts --> <?php endif; ?>Forum: Fixing WordPress
In reply to: Comments redirectEach comments
<li>tag hasid="li-comment-<?php comment_id(); ">Remove the “li-comment-” part and it will work.
Note: I don’t know exactly what is inside the
<?php ?>tags, but keep whatever it is and remove the li-comment-Forum: Fixing WordPress
In reply to: feed missing author and dateCan you post the feed urls that you supplied to Feedburner?
It looks like you didn’t specify the rss2 feed and whatever plugin you’re using is forwarding all feed requests to the Feedburner URL.
Forum: Fixing WordPress
In reply to: Issue with thumbnails and slider ??What theme are you using? Can you post a link of your site and where you got your theme?