Digital experiences for all disciplines
Forum Replies Created
-
-
February 10, 2014 at 3:08 pm in reply to: [Last errors before launch !] Multi-language links don't works #47643
Was this resolved? I’m having the same issue. I don’t mind manually translating them, but can’t find where to do that.
Thanks.
I reset the permalinks and that seems to have resolved everything.
February 5, 2014 at 6:59 pm in reply to: Hide categories on the product page under product title #46982Hi,
I tried putting this in the theme’s general settings, but nothing happens 🙁 Any ideas?
February 5, 2014 at 6:33 pm in reply to: Zoom Feature – Removing Additional Information tab – Excluding products category #46980I looked on the Woo support pages and found this code, but I think it seems to conflict with the theme’s code. Can you please take a look? Its supposed to go into functions.php:
add_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
function custom_pre_get_posts_query( $q ) {
if ( ! $q->is_main_query() ) return;
if ( ! $q->is_post_type_archive() ) return;if ( ! is_admin() && is_shop() ) {
$q->set( ‘tax_query’, array(array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘knives’ ), // Don’t display products in the knives category on the shop page
‘operator’ => ‘NOT IN’
)));}
remove_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
}
Hi,
So, I’ve accomplished the first page by using swift page building and using mini products to show the wholesale category.
Can you please help with item 2? I want to hide the wholesale category from the SHOP page. I tried using the following codeI found online, but its not working:
add_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
function custom_pre_get_posts_query( $q ) {
if ( ! $q->is_main_query() ) return;
if ( ! $q->is_post_type_archive() ) return;if ( ! is_admin() && is_shop() ) {
$q->set( ‘tax_query’, array(array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘knives’ ), // Don’t display products in the knives category on the shop page
‘operator’ => ‘NOT IN’
)));}
remove_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
}
Was this solved because I’m having the same issue. Can you please post the solution?
Hi,
I’m having the same issue. I’ve set the languages in WPML, and selected for it to be English/Français instead of English/French, but the built-in switcher for the Neighbourhood theme still shows English/French. Do you know how to change it to show “Français” instead?
Thanks!
I did some padding changes and it seems to have fixed it.
I have the same issue but with a space on the top of the slider. I tried putting the code you provided but it didn’t do anything. Do you have another code snippet I could use?
Please disregard the enewsletter question. Now just trying to figure out how to get my slider to move up against the menu…
I’ve set the position to centre/centre and there’s no padding.
Mine turned out perfectly. Thank you sooooo much for posting that. You saved me countless hours.
Hi,
I’ve imported the dummy slider and it doesn’t show on the homepage.
I have the Nieghbourhood theme and would like it on the homepage. It says:
For show only on homepage use: <?php putRevSlider(“homeslider”,”homepage”) ?>
I’m not sure what file to insert this code into or where in a file to insert it.
Any help would be greatly appreciated.
Thanks!
-Caryl
-
Posted in: Reply To: Homepage Slider & Shop