Forum Replies Created
-
AuthorPosts
-
August 1, 2017 at 11:48 am in reply to: Adding the search icon in the desktop menu/header to Mobile Menu/hamburger menu #832779
Hi,
I’d like to have the search icon appear inside the burger menu (ideally at the end of the list) , not next to it.
Can you help me do this? Even if it isn’t the magnify icon but the search field.
Thanks.Where in the footer.php and what shortcode?
Is it possible to add a widget area in the footer.php that can be used from the Widget section in the backend?
There’s a comma after $the_id which shouldn’t be there:
$cats = get_the_tag_list('<span>Tags: ',', ','</span>', $the_id);
Thanks it works now to show the tags. They appear as links but is it possible to have them output as CLASS or ID because I want to replace each tag with a graphic through CSS. e.g
<span class=”Tag1″>Tag1</span>
<span class=”Tag2″>Tag2</span>Thanks
I tried that and my site won’t load. Not front or backened, just blank white page. When I comment out that line of code it works again. Is there a mistake in that line perhaps?
ThanksHi,
So this is the code I’m using:switch($contents) { case "excerpt": $excerpt = $entry->post_excerpt; $title = $entry->post_title; break; case "title": $excerpt = ''; $title = $entry->post_title; break; case "only_excerpt": $excerpt = $entry->post_excerpt; $title = ''; break; case "no": $excerpt = ''; $title = ''; break; } $cats = get_the_tag_list($the_id, 'portfolio_entries', '', ', ','').' '; if(!empty($cats)) { $excerpt = '<span class="blog-categories minor-meta">'.__('in','avia_framework')." "; $excerpt .= $cats; $excerpt .= '</span>'; }
And I get the “in” then nothing after it. When I inspect I see the “blog-categories” class has been created but I don’t see any of the Tags I created in the backend.
Thanks
July 6, 2017 at 10:35 am in reply to: Post Grid – add a posts category to the ARTICLE CLASS output #817127Hi,
Admin credentials below:Please let me know if there’s anything else.
July 4, 2017 at 7:54 pm in reply to: Post Grid – add a posts category to the ARTICLE CLASS output #816464Here’s the link to the homepage that has a grid of post (currently placeholder but with the correct categories )
If you inspect the element you’ll see they appear as <article> elements with a range of classes. I’d like the items category to be a part of this category list.
ThanksJuly 4, 2017 at 11:06 am in reply to: Post Grid – add a posts category to the ARTICLE CLASS output #816241This hasn’t worked.
I have a post grid on my homepage and each of the elements in the grid is an <article> which has various classes such as
“slide-entry flex_column” “post-entry” …etc
I want the category of the post to appear in that list of classes so I can style them individually by their category.I hope thats clear.
-
AuthorPosts