carbonmadex
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Homepage paginationWell I solved the issue by replacing the above code with this:
<?php $bcat = get_option('of_blog_category'); $bcatid = get_cat_id($bcat); if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } query_posts( array( 'post_type' => 'post', 'paged' => $paged, 'cat'=> $bcatid, 'posts_per_page' => 9 ) ); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
I have the same issue. Any updates?
Forum: Fixing WordPress
In reply to: WordPress Import Problem (subcategories are invisible)Haven’t anyone had an issue like this?
Forum: Fixing WordPress
In reply to: wp_nav_menu single post highlightAnyone can help?
Forum: Fixing WordPress
In reply to: Template tag in script fileA lightbox script. Which has links for flvplayer and mp3player in it like this:
FLVPlayer: "/js/FLVplayer.swf", // URL of the FLV Player MP3Player: "/js/MP3player.swf", // URL of the MP3 Player
And I need to add
<?php bloginfo('template_url'); ?>
to the beginning in order to generate the right URL. I cannot write it directly because it will be a template. And I cannot call this part of the script from header.php either. So I need to make the template_tag work inside the script file.Forum: Fixing WordPress
In reply to: post_thumbnail qualityWell I think I managed to figure this out by setting the cropping to true.
Forum: Fixing WordPress
In reply to: Get categories of posts as slugsThanks for the response. Unfortunately I can’t use a plugin. Do you know if I can exclude certain category from generating as post class (when I use post_class template tag)?
Forum: Fixing WordPress
In reply to: wp_nav_menu single post highlightYes it does. Try styling on .current_page_parent a or .current_page_ancestor a.
Unfortunately it doesn’t. When I look at the page from view source the only classes generated are:
<li id="menu-item-352" class="menu-item menu-item-type-post_type menu-item-352"><a href="https://fadelicious.iki-bir.com/wp/blog">Blog</a>
Forum: Fixing WordPress
In reply to: Shortcode recent postsThanks a lot!