-
AuthorPosts
-
February 24, 2015 at 10:16 am #401246
Hi
Did contact you yesterday with the same Problem, this was my Email:
Madame_z
—————————————————————————
Hi,I would like to change the look of the Listing for the results of the search. I would like to list it like the recipes at the recipe page aswell:
http://www.foodulution.com/rezepte-archiv/
now it looks like that:
http://www.foodulution.com/k%C3%BCche/paleosteinzeit-diaet/
Thanks for help/advice
Nicole
———————————————————————————————————
You told me, that I should do this:http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/
And I did, I put the snippet into funchtions.php and first it seems to work. But nope, it didnt’ it is still like that:
http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/
Instead of an grid-layout listing of the search results out of my recipes…
Thanks for your help.
Cheers, Nicole
February 25, 2015 at 5:27 am #401846Hi Madame_z!
That code should work, which one of them did you use and where did you add it? Also, did you try to flush your browser cache, restart and reload a few times after the change?
Cheers!
RikardFebruary 26, 2015 at 10:38 am #402558Hi Rikard
I tried all of it. Meaning, both of the style that you recommend at the documentation. But it changed nothing! :-(
And sure, it tried three dirfferent Browser, all restarted, flushed Cache, Cookies and all of the rest of the Browser data… But nothing.
I serious don’t want went wrong all the time. I my put the code into the false place. I don’t know. But it should be placed at the functions.php and not into the enfold-functions.php, right?If it is fine, and it want bohter you, I would appreciate it, if I could give you access to my backend and you could take a look, which I did wrong….
thanks.
Greetz, Nicole
February 27, 2015 at 8:06 am #403231Hey!
If you want the archive page to have the grid style, use this on functions.php:
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'blog-grid'; return $layout; }
Best regards,
IsmaelFebruary 27, 2015 at 10:05 am #403282Hi,
Thanks for your reply, but if I add this to the functions.php the whole website isn’t avaiable…!!!!
Not form the backend, not at the frontend. But I could fix it, that is rechable again. I deleted the code via ftp from the functions.php….
so it has to be the wrong one… another suggestion?thx.
Regards, Nicole
February 28, 2015 at 12:21 pm #403818Hi Nicole!
Functions.php is the correct file, but if your site goes blank after adding it something must have gone wrong, where did you add it? Please try again and add the code snippet to the very bottom of functions.php and see if that works out.
Cheers!
RikardMarch 4, 2015 at 2:20 pm #405754Hi
Nope, it still doesn’t work… I flushed the CDN the cache of the website aswell, the browser usw and waited some time but nothing…
Any ideas?
Regards, Nicole
March 5, 2015 at 9:50 am #406285Hi!
It is working fine on our installation. Sometimes, when you copy the code from the forum, the apostrophes and other symbols are converted to their character entity code. Please get the code here: http://pastebin.com/7QvZG1tY
Make sure that you only have one instance of this code inside functions.php.
Best regards,
IsmaelMarch 5, 2015 at 11:49 am #406337Hi
Nope, no changes.Look, I am getting nuts. It doesn’t work. See, I have a foodie website and because of that I use the WP Ultimate Recipe Premium Plugin. And if I want to search for the ingrdients, or kitchen style or some like that, it list me the thing not like a grid like it does at the archive page. But I want it if I search listed in grid stlye.
Thanks for help again…..
Regards.Nicole
March 9, 2015 at 1:55 am #407804Hi!
Alright. I’m sorry if I misunderstood your inquiry and for wasting time. I thought you’re trying to apply the grid style on archive(category) pages. That filter won’t work on the search results page. Unfortunately, the theme doesn’t have any alternative style for this page so it will require custom modification. Please hire a freelance developer to modify it. For further modifications, please visit Envato Studio or Werkpress.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.