isasari
Forum Replies Created
-
RESOLVED
Thank you very much for your quick response. Glad to hear that.
Forum: Fixing WordPress
In reply to: Custom post type pagination problemHey psahmad. Here is my codes: This one is for functions.php
if ( !is_admin() ) add_filter( 'pre_get_posts', 'my_get_postss' ); function my_get_postss( $query ) { if ( is_home() && $query->is_main_query() ){ $query->set( 'post_type', array( 'recipes' ) ); $query->set('posts_per_page', 6); } return $query; }And this one is for home page:
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('post_type=recipes'.'&paged='.$paged); ?> <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>Forum: Fixing WordPress
In reply to: Custom post type pagination problemThank you very much Cole, but I’ve already solved it by myself. I appreciate your help.
Forum: Themes and Templates
In reply to: Problem with paginationI see, but it must be very easy for you. I think I explained all the facts. The solution must be so easy…
I see. So I’m not gonna use it. Thank you very much.
Thank you very much. So I’m gonna delete it 🙂
Forum: Plugins
In reply to: [Schema - All In One Schema Rich Snippets] Time formats for recipesThanks for your reply Sujay. I understood that I shouldn’t change it. Thanks 🙂
I mean the text in the screenshot: http://www.turkiyat.org/text.png
Forum: Themes and Templates
In reply to: Caption problem with border.wp-caption-text was not defined on my style.css file. Now, I’ve defined it with margin-bottom 5px and the problem is solved. Thank you very much for your reply. I am grateful.