-
AuthorPosts
-
May 15, 2015 at 1:06 pm #444899
Hi,
Two things:
1. The system add “Nogen” before the text in my dropdown layered selections.
2. How do I remove the () around the numbers – like you have on the Enfold demo
Please have a look at pic
May 15, 2015 at 10:51 pm #445174Hi Jakob40004000!
Your screenshot is not loading for me. Go ahead and send us a link to your page so we can get a better idea of what’s going on.
Also be sure to deactivate all plugins while testing to see if they are causing the problem.
Cheers!
ElliottMay 15, 2015 at 11:07 pm #445181May 18, 2015 at 1:53 pm #445631Hey!
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
RikardMay 19, 2015 at 11:22 am #446336This reply has been marked as private.May 22, 2015 at 9:53 am #448271Hi!
1.) I’m sorry but I’m not sure what you’re trying to do here. Do you want to remove the “Nogen” text?
2.) Add this in the functions.php file to remove the () characters:
add_action('wp_footer', 'ava_custom_script', 10); function ava_custom_script(){ ?> <script> (function($){ $('.widget span.count').each(function() { $(this).text($(this).text().replace(/[()]/g,'')); }); }(jQuery)); </script> <?php }
Best regards,
IsmaelJune 3, 2015 at 2:21 pm #4537571) You are right. The “text “Nogen” dosent make sense, and I dont know where it is comming from. The text after “Nogen” is ment to be there..
2) This is solved, thanks!
June 3, 2015 at 2:26 pm #453761Hi!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_text(){ ?> <script> jQuery(window).load(function(){ jQuery('.widget').contains('Nogen ').remove(); }); </script> <?php } add_action('wp_footer', 'add_custom_text');
Regards,
YigitJune 3, 2015 at 2:35 pm #453773Adding this didnt remove the text
June 3, 2015 at 2:43 pm #453783Hi!
It seems like you have added the code to both functions.php file and functions-enfold.php file. You should only add it to functions.php file. Please edit the file via FTP and remove the code from functions-enfold.php file then let us know so we can look into it.
Best regards,
YigitJune 3, 2015 at 2:53 pm #453799Incredible how fast you responded, and you are right – I edited the wrong. Now I have removed the text via ftp, but the webshop page does not load :(:(:(:(:(:( Can you see what is wrong?
June 3, 2015 at 3:00 pm #453810This reply has been marked as private.June 3, 2015 at 3:05 pm #453814Hey!
Please review your website now. I have added the code to functions.php file and adjusted a bit and it is working fine now :)
Best regards,
YigitJune 3, 2015 at 3:07 pm #453816This page, where the corrections are beeing made are not loading here: http://mitsupport.dk.php53serv2.webhosting.dk/?product_cat=baerbare-brugte
June 3, 2015 at 3:15 pm #453825Hey!
Direct link you posted here is working fine on my end – https://kriesi.at/support/topic/layered-navigation-2/#post-446336
Cheers!
YigitJune 3, 2015 at 3:21 pm #453835Weird, it was my menu link that had changed. It works, fantastic
It blows my mind how you are able to sell the theme and offer this premium support at that price!
You are my hero of the week – thanks!
June 3, 2015 at 3:24 pm #453839Hi!
You are welcome, we are always happy to help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers!
Yigit -
AuthorPosts
- The topic ‘Layered navigation’ is closed to new replies.