Support

Home Forums Event Espresso Premium accesspress mag pro compatibility

accesspress mag pro compatibility

Posted: June 1, 2016 at 2:07 pm


info@hrgirlfriends.com

June 1, 2016 at 2:07 pm

I am using accesspress mag pro with a site (http://hrgirlfriends.com) and have encountered several issues that appear to be theme related. I would just like information on how to fix them.
– On the Event Archive Page: http://hrgirlfriends.com/events/, the event ID is printing at the end of the description.
– On the single events pages (http://hrgirlfriends.com/events/colonial-life-networking-event/ and http://hrgirlfriends.com/events/flsa-overtime-changes-what-every-business-needs-to-know/), the Display tickets is selected, but no tickets are showing up unless I put in the shortcode. Oddly the USED to print on the page and just stopped.
– The Date/Time and venue of the event are only showing up on one of single event pages (http://hrgirlfriends.com/events/shrm16-day-party/). The rest of the event pages are just showing the description.
– The date posted is showing up above the featured image, I would like to remove this.


Josh

  • Support Staff

June 1, 2016 at 2:30 pm

– On the Event Archive Page: http://hrgirlfriends.com/events/, the event ID is printing at the end of the description.

Can you check to see in anyone put some debug code in somewhere in one of the templates or template tag functions?


Josh

  • Support Staff

June 1, 2016 at 2:38 pm

For the other 3 issues, we’d probably need a copy of the theme to be able to tell you what and where to change the theme code. Where might we download a copy of the theme? Along with that, has any code been within the theme been customized? If so, it’d be best to include the customized files.


info@hrgirlfriends.com

June 1, 2016 at 6:08 pm

Oh! Okay, I forgot, I turned on wp_dbug in the config. I reset it to false. There’s a free version of the theme here: https://wordpress.org/themes/accesspress-mag/

I made a child theme to tweak the styling, but I haven’t really didn’t do much: Here’s the child theme functions: http://pastebin.com/C4nKxh74


Josh

  • Support Staff

June 2, 2016 at 9:58 am

Hi there,

You can add the following CSS to your custom stylesheet to hide the posted on date for events:

.espresso_events .byline,
.espresso_events .posted-on {
display: none;
}

As far as the the other issue where the ticket selector and date times are not displaying anymore, I’m not sure if that’s a theme issue or if there’s something else that’s causing this to happen. I have a copy of the free version of the Accesspress magazine theme loaded up and the ticket selector and date times are displaying there.

Can you try installing the theme test drive plugin plugin to see if those items display again while you test drive another WordPress theme?


info@hrgirlfriends.com

June 2, 2016 at 2:04 pm

Events that have tickets with display set to yes:
http://cl.ly/1R3z3x3X1M20
http://cl.ly/291F0v0D2D2r: I used the shortcode on the page to show this one.

This event is showing the venue, but the other two aren’t: http://cl.ly/0B2u141u2i3J


info@hrgirlfriends.com

June 2, 2016 at 2:08 pm

oh yeah – thanks for post date code!

That was twentyfourteen theme by the way.


Josh

  • Support Staff

June 3, 2016 at 9:16 am

Since it makes no difference for the missing event content when you switch to another theme, then the issue might be caused by another plugin.

You can rule this out by temporarily deactivating any other installed WordPress plugins.


info@hrgirlfriends.com

June 3, 2016 at 3:24 pm

By any chance is there a list of known conflicts?


info@hrgirlfriends.com

June 3, 2016 at 3:28 pm

Also, for some reason the event IDs are still showing up. I turned of wp_debug.
Thanks again!


info@hrgirlfriends.com

June 3, 2016 at 5:15 pm

Okay, after some systematic searching, I found that the culprit is accesspress social share(https://wordpress.org/plugins/accesspress-social-share/), which is a REAL bummer, because one of the main places that I’d like to have that feature is on an event page.


Josh

  • Support Staff

June 6, 2016 at 9:32 am

Thanks for narrowing things down and finding the access press social share plugin. This is a bit strange, if the LinkedIn box is checked in the social share settings *and* no excerpt is set in the Event post, the Social Share plugin ends up stripping away all of the event content (like the ticket selector, date times, and venue information).

You can work around what it’s doing by either adding an excerpt to the event, or simply uncheck the LinkedIN option in the Accesspress social Share settings.

One other workaround (although kind of hacky) is you go into the /accesspress-social-share/accesspress-social-share.php file and on line 62 where it says:
add_filter( 'the_content', array( $this, 'apss_the_content_filter' ), 12 );
You can change it to be:
add_filter( 'the_content', array( $this, 'apss_the_content_filter' ), 122 );

This will load the access press social share code later which will prevent the event content from getting stripped away.

The support post ‘accesspress mag pro compatibility’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso