swayam.tejwani
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Is there a way to create sub post or sub content to post?You can show “deals & offers” of current post in sidebar on restaurant page and then link to same page (current restaurant page) adding query string in url and on single.php page you can check $_GET parameter variable, if its set then you can show deals/offers content for that particular restaurant.
have you tried replicating this issue deactivating all plugins and enable default wp theme like 2014,2015 etc ?
Forum: Fixing WordPress
In reply to: Amazon Native Shopping AdsIt required bit of coding, if you can do it easily, put the amazon affiliate code in custom field in backend and create a custom page template, which takes custom field of page and show on front end.
Forum: Fixing WordPress
In reply to: Refine search by category?I dont think there is any plugin which will do exactly like this as its custom functionality, so you need to code for it or hire any wp expert to do so.
Forum: Fixing WordPress
In reply to: Amazon Native Shopping AdsI think you can use Visual composer editor widget(Text Block) to add your ad code.
Forum: Themes and Templates
In reply to: [Zerif Lite] How do I remove "sort by" drop-down menu?Hi Pieter92,
This code should work
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
however, you can also do it by copy the file called orderby.php which is in plugins/woocommerce/templates/loop/ folder and paste it in your theme folder like themes/your_theme_name/woocommerce/loop and put it there(if you dont have woocommerce folder in theme, create one), open that file in text editor orderby.php and remove its content, save the file and its done ?? Let me know if this works for you.
Forum: Themes and Templates
In reply to: [Storefront] How to remove Previous and Next post navigation?Put this code in your child theme’s functions.php file
function custom_remove_post_nav(){ remove_action( 'storefront_single_post_after', 'storefront_post_nav' ); } add_action( 'after_setup_theme', 'custom_remove_post_nav' );
Forum: Fixing WordPress
In reply to: Customize the_excerpt linkHi Dancar11,
there seems to be some problem in your code, function name should be ‘custom_excerpt_more’ and not ‘no_more_jumping’ as per add_filter call.
Also, i have tried get_posts with the_excerpt in test template (using 2012 theme), its working fine with this code belowfunctions.php
function new_excerpt_more( $more ) { return ' <a class="read-more" href="' . get_permalink( get_the_ID() ) . '">' . __( 'Read More', 'your-text-domain' ) . '</a>'; } add_filter( 'excerpt_more', 'new_excerpt_more' );
Test template code
<?php /* * Template Name: Test Template */ get_header(); $postslist = get_posts('numberposts=2&order=DESC&orderby=date'); foreach ($postslist as $post) : setup_postdata($post); echo '<div>'; echo '<h2>'.get_the_title().'</h2>'; the_excerpt(); echo '</div>'; endforeach; get_footer(); ?>
Let me know if it helps !
plz post your website link
Forum: Themes and Templates
In reply to: stupid question about menuIts just “container” & not “menu_container” ??
Cheers !
Forum: Fixing WordPress
In reply to: Number of Widgets InstantiatedIf its just a matter of CSS, then you can use nth child in css and implement it dynamically with PHP, i think thats pretty much easier though ??
Hi there, your problem is not very much clear to me, are you not able to update custom post or taxonomy ? how you have added custom post type & taxonomy, can you paste code here ?
Forum: Themes and Templates
In reply to: COMMERCIAL THEME (IMAG MAG) SUPPORTYour website link plz ?
Forum: Themes and Templates
In reply to: Restrict "whats on" category to show from my home pageHave you tried
$args = array( 'post_type' => 'post', 'paged' => $paged, 'cat' => -126 ); query_posts($args);
Forum: Fixing WordPress
In reply to: Autoset Featured ImageAutoset Image works perfectly for me,
Have you tried by activating default wordpress theme ? and also deactivate all plugins and activate just this one and check if it resolves your issue.