-
AuthorPosts
-
October 29, 2015 at 2:09 am #526496
Hello,
I display some articles with this code :
[av_blog blog_type='taxonomy' categories='39' link='event-categories,75,74,73,76,77' blog_style='blog-grid' columns='3' contents='excerpt' content_length='content' preview_mode='custom' image_size='extra_large' items='15' offset='0' paginate='yes' custom_class='blocs-event']
For each post I need one additional element: The category name witch will take place before the title and excerpt.
and
to change the display of the more-link link : I need an image instead of the text, how to do that ?Thank you
CaroschOctober 29, 2015 at 5:24 pm #527002Hey carosch!
Around line 143 in the /enfold/includes/loop-index.php file you can see where we display the title.
echo $title;
You can do this before it, https://developer.wordpress.org/reference/functions/get_the_category/, to display a category assigned to the post, though we are already displaying categories in the post meta information beneath the title.
For the read more link, perhaps it would be better to do that with CSS. Send us a link to your page and take a screenshot highlighting your intentions so we can get a better idea.
Cheers!
ElliottNovember 7, 2015 at 3:03 pm #531860Hello,
I think I have not very well explain my problem.
In this page
http://memorial-verdun.fr/tous-les-evenements/I want to display the categories witch belong the event juste before the event title.
But only in this page
I tried to add this css
.blocs-event header.entry-content-header:before { content: '#_EVENTCATEGORIES'; text-align: center; display: block; }
but that display #_EVENTCATEGORIES, not the category name, it’s not interpreted
Is there any way to add an élément in the “article blog” module ?
Just in some cases like the events archive page ?Carosch
November 9, 2015 at 6:15 pm #532807Hey!
So your using the events calendar plugin? It’s kind of bordering on custom work but perhaps you could use this to display the event categories, https://theeventscalendar.com/function/tribe_get_event_categories/.
Cheers!
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.