Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Add metadata under title on blogs and event pages


JButler

Question

I think this has been asked before but I can't find a definitive answer. By default, the category tag on events pages is appearing at the bottom of posts, under the editable content. I've been asked if I can move it to sit with the date and time, just below the post title. Would this be possible without diving into developer mode? Thanks!

Link to comment

6 answers to this question

Recommended Posts

  • 0

Hi. I think this is possible, with some code add to Design > Custom CSS.

Can you share link to an event? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
20 hours ago, JButler said:

Thanks Tuanphan. Here is an example: https://www.stories.standard.co.uk/programme-1/stories-festival-event-one-g2jag

I need to move the 'Posted in Netflix' text to be next to or under the date and time.

Add to last line in Code Injection > Footer

<!-- Posted in under Event Title -->
<script>
  $(document).ready(function() { 
		$('li.eventitem-meta-item.eventitem-meta-cats.event-meta-item').insertAfter('h1.eventitem-title');
	});
</script>
<style>
  li.eventitem-meta-item.eventitem-meta-cats.event-meta-item {
    list-style: none;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
On 7/14/2021 at 5:03 PM, JButler said:

This worked perfectly. Thanks so much!

Is there anything I can add to this script that will also remove the 'Posted in' text that precedes the Category link?

I don't see Posted in here. Do you still need help?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

Sorry, I was playing around with the live page. I'm struggling to get javascripts to run only once when using the lightbox anything plugin with summary blocks, so I think I may have to scrap the idea and get people to enter the category in the content manually! Thanks again.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...