Shihab Malayil
Forum Replies Created
-
Forum: Hacks
In reply to: Custom Taxonomy PaginationThank you bagwis,
iam trying…Forum: Hacks
In reply to: How to make custom posts taxonomy single page ?hI Archie,
Still single page not working.
when i click the link it’s going home page without content.This is my single-special_offers.php
<?php $wp_querty = new WP_Query( array( 'post_type' => 'special_offers' //you custom post name ,'post_status' => 'publish' ) );?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_title();?> <?php endwhile; else: ?> <?php endif; ?>
is it correct ?.
-Thank you-
Forum: Hacks
In reply to: How to make custom posts taxonomy single page ?Hi Archie,
“I usually keep the post type script separate and simply call it in the functions.php “I also same path. (include)
I put the code which you give me, in my single-custompage.php
How can i mention single-custompage.php is dedicated to the post.
like functions.php page-Thank You-
Forum: Hacks
In reply to: How to make custom posts taxonomy single page ?Hi, Archie,
Thank you for your replay.I can’t install external plugins.
can you please, how can i show the post as single ?.Forum: Fixing WordPress
In reply to: Widgets not working in WP 3.4.2This is my code…repeating content after post.
How can i solve this problem?
please help(theme Page) for showing content of wordpress page
//
<?php if(have_posts()):
while(have_posts()): the_post(); ?>
<h1><?php the_title();?></h1>
<p><?php the_content();?></p>
<?php endwhile;
else :
endif;?>
//(WP Page) for showing wordpress post
//
<?php query_posts(‘cat=4&showposts=8’); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_title()?>
<?php the_excerpt();?>
<?php endwhile; endif; ?>
//thanks
Sh!habForum: Fixing WordPress
In reply to: Exclude posts repetition in the loop on second pageThis is my code…repeating content after post.
How can i solve this problem?(theme Page) for showing content of wordpress page
//
<?php if(have_posts()):
while(have_posts()): the_post(); ?>
<h1><?php the_title();?></h1>
<p><?php the_content();?></p>
<?php endwhile;
else :
endif;?>
//(WP Page) for showing wordpress post
//
<?php query_posts(‘cat=4&showposts=8’); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_title()?>
<?php the_excerpt();?>
<?php endwhile; endif; ?>
//thanks
Sh!habForum: Fixing WordPress
In reply to: Widgets not working in WP 3.4.2hI slaveek, it’s not working for me.any other option ?.