• I tried posting this to your actual support forums but the Register link doesn’t seem to work so I couldn’t make an account so hopefully someone here can help

    My site is: https://woodsidehomeandschool.com

    Everything works fine but when I click on one of the widget items from the Upcoming Events list or clicking on one of the items in the actual calendar, it puts some code about the event in the header of my site. The problem has something to do with the theme we are using so I’m hoping it’s an easy fix as the theme is not supported.

    To view it, go to my site and click an of the items from the sidebar widget. Then look in the upper left corner and you’ll see 4 lines of text. I just need some help getting rid of those somehow. ??

    I’m using WP 4.0 and Plugin Version 2.1.5

    Any help would be great.

    Thanks!!

    https://www.ads-software.com/plugins/all-in-one-event-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • See this post on the Time.ly forum, which explains the issue and a work-around till the theme and/or plugin authors can fix their side: https://time.ly/forums/topic/classp-summary-in-event-title/#post-147055

    This is usually an issue with the theme, though some plugins do the same.

    Thread Starter kelemvor

    (@kelemvor)

    I commented out that line but it didn’t seem to change anything. My issue isn’t with the Title of the page. It’s text that sees to be coming form the header from the looks of it.

    I doubt this theme will ever get updated so I’d be happy to try to modify the theme itself if you can tell me what might need to be changed.

    Ok, this looks to be the description that’s being pulled by a search plugin.

    It’s the same sort of problem, but related to the post body.

    <meta name="description" content="<div class="timely ai1ec-excerpt">
    	<div class="ai1ec-time">
    		<strong>When:</strong>
    		October 14, 2014 @ 4:30 pm – 5:30 pm
    	</div>
    			<div class="ai1ec-location">
    			<strong>Where:</strong>
    			Woodside Elementary School, W236N7465, Woodside Rd, Sussex, WI, United States
    		</div>
    	</div>
    " />

    Basically, anything that spits out text to use in a HTML element should be stripped of HTML tags and then have special characters escaped.

    Unfortunately, commenting this out will stop any event detail being inserted into the page, so you will really need to look at the theme and what function/code is being used to populate that HTML attribute.

    Thread Starter kelemvor

    (@kelemvor)

    Would you have any tips on where I might start looking? The theme is not supported any longer and I don’t know how all of that works.

    The theme is https://www.ads-software.com/themes/blogolife if that helps.

    Thanks for any assistance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code showing up in the header after clicking Widget or calendar item’ is closed to new replies.