ergkranjan
Forum Replies Created
-
Thanks Bruna, It worked.
Hi Bruna,
Thanks for the reply. But, I have changed nothing and this key was being used at my site for quite some time. It started showing this suddenly and now whenever I am clicking on validate, it is saying the same thing.
I am confirming again that I have only one key and I have not made any change in the domain. Can you please help?Thanks,
GopalCan anyone please help on this?
Forum: Themes and Templates
In reply to: [Customizr] Left side bar is not moving after main contentGreat @d4z_c0nf!
You rocked……..
Thanks and have a great day ahead.Forum: Themes and Templates
In reply to: [Customizr] Left side bar is not moving after main contentYes i want to move left side bar below the main content on small devices but not on big screens (laptops/desktops).
Forum: Themes and Templates
In reply to: [Customizr] Left side bar is not moving after main contentForum: Themes and Templates
In reply to: [Customizr] Left side bar is not moving after main contentHi team,
Anyone please help on this.Forum: Themes and Templates
In reply to: [Customizr] Left side bar is not moving after main contentAnyone, Please help on this.
Forum: Themes and Templates
In reply to: [Customizr] Getting general posts in custom post archive[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
add_action( 'pre_get_posts', 'include_cpt_in_archives', 100); function include_cpt_in_archives( $query ){ if ( is_admin() || ! $query->is_main_query() || ! ( $query->is_search || $query->is_archive ) ) return; $post_types = get_post_types( array('public'=> true, 'exclude_from_search'=> false, '_builtin' => false) ); // add normal post $post_types['post'] = 'post'; $query -> set('post_type', $post_types); }
Hi Friend,
I am using the below code to get custom posts in archive as suggested by you and I am getting it in my archive. But there is a problem that hen I go to any any custom post archive, its also showing all normal posts below custom posts. Can I handle this? Please help on this.
Forum: Themes and Templates
In reply to: [Customizr] Change post navigation text to Previous and NextCan i do in function.php bcoz I dont want to change any theme file. Please help on this topic.
Forum: Themes and Templates
In reply to: [Customizr] Change post navigation text to Previous and NextHi Team,
Can anyone help on this topic please?Forum: Themes and Templates
In reply to: [Customizr] Post navigation at top or just below post//Here is the final code:
//Forgot to add is_single check:
add_action(‘wp_head’, ‘swap_comments_post_nav’);
function swap_comments_post_nav(){
if ( ! method_exists(‘TC_post_navigation’, ‘tc_post_nav’) )
return;
if (is_single() )
{
remove_action(‘__after_content’, array(TC_post_navigation::$instance, ‘tc_post_nav’), 20 );
add_action(‘__after_content’, array(TC_post_navigation::$instance, ‘tc_post_nav’), 9 );
}
}Forum: Themes and Templates
In reply to: [Customizr] Post navigation at top or just below postHi Friend,
Thanks for your support.
I have done the this by using below code:
add_action(‘wp_head’, ‘swap_comments_post_nav’);
function swap_comments_post_nav(){
if ( ! method_exists(‘TC_post_navigation’, ‘tc_post_nav’) )
return;
remove_action(‘__after_content’, array(TC_post_navigation::$instance, ‘tc_post_nav’), 20 );
add_action(‘__after_content’, array(TC_post_navigation::$instance, ‘tc_post_nav’), 9 );
}