shivamkr45
Forum Replies Created
-
I have added the following PHP code, but still, posts are not showing on the archive page.
add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) { if( is_category() ) { $post_type = get_query_var('post_type'); if($post_type) $post_type = $post_type; else $post_type = array('nav_menu_item', 'post', 'tools'); // don't forget nav_menu_item to allow menus to work! $query->set('post_type',$post_type); return $query; } }
Archive Page – https://www.staging.aiwagon.net/category/website-branding/landing-page-builder/
Custom Post – https://www.staging.aiwagon.net/tools/framer-review/Forum: Plugins
In reply to: [Easy Table of Contents] Numbering counter doesn’t show up..i am using GeneratePress theme, I even updated to the latest update, but it yet not solved.
Forum: Plugins
In reply to: [Easy Table of Contents] Numbering counter doesn’t show up..I tried deactivating each plugin one by one but it didn’t work. I have downgraded to “2.0.31” version and now its working. Please let me know if there is any other way to fixed this issue in upgraded version.
Forum: Plugins
In reply to: [Easy Table of Contents] Numbering counter doesn’t show up..Here you go…
TOC settings screenshotForum: Plugins
In reply to: [Easy Table of Contents] Bold heading when activeHey Steven, I know that the TOC widget has the function to highlight the active section.
But I am not using the sidebar on my blog post (link), so I cannot use widgets there. Thus using shortcode.
Can you please give a workaround to highlight the active section even with TOC displayed through shortcode?
Please help! I have not found this feature in any plugin yet…
Forum: Plugins
In reply to: [Permalink Manager Lite] Need your advice on URL structuring:Yes, I also believe that the second option is much easier to execute but since i am new to SEO, I was thinking whether this approach will negatively impact my pages performance and seo issues likes redirection and canonicalization.
Forum: Themes and Templates
In reply to: [GeneratePress] Blog post layout structureI am not asking you about the elements part, I am asking how they have different width for different section on their blog post…
Another problem appeared…
Actually I have added 50 right and 50 left padding to the content from customizer >layout
But I don’t know why padding is not applied to the Gutenberg full-width element.
As I am using group block to, so i also tried this css
.wp-block-group__inner-container {padding-right:50px; padding left:50px;}
but it didn’t worked
Hey thank you, It worked…
But why it was happening any idea…