Support

Home Forums Event Espresso Premium Event registration page on Jupiter theme appearing as a blog

Event registration page on Jupiter theme appearing as a blog

Posted: November 21, 2018 at 6:37 am


Porter

November 21, 2018 at 6:37 am

We’re using the Jupiter theme and the event registration pages are appaering as blogs. Is there a way to change this to pages instead?


Josh

  • Support Staff

November 21, 2018 at 12:32 pm

Hi,

Yes there is. You add this code to your site:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/jf_ee_custom_post_type_template.php

You can add the above to a functions plugin or, if applicable, into your WordPress child theme’s functions.php file.


Porter

November 22, 2018 at 4:57 am

Thanks for sending the code through. I’ve tested it out and things have changed, I can no longer see the blog author and post date which is great but the event title has dissapeared but the the paginationis also still visible. Do you know i there is a way to remove the paignation?

Thanks


Josh

  • Support Staff

November 22, 2018 at 6:33 am

Hi,

The code I shared would only change the single event page, and make is use the Jupiter’s page.php template instead of the Jupiter single.php template.

If you’re seeing pagination, that would be an archive page, which the above code would not affect. You can remove pagination by going to WordPress Settings > Reading and set “Blog pages show at most” to a higher number.

With regards to the page title disappearing, does the page title re-appear if you remove the custom code?


Porter

November 23, 2018 at 6:55 am

Thanks for getting back to me. Our problem is that we need the pagination for our normal blogs so if I turn them off, the blogs are affected.
The page title appears when the code is removed.


Porter

November 23, 2018 at 7:30 am

We’ve been trying to remove this pagination by adding CSS to the “Registration checkout” page (the one selected as the “Critical Registration Checkout Page”. However these changes are not working. We also tried adding some extra text to this page but that didn’t show up either. Should text added her appear on the registration pages?


Josh

  • Support Staff

November 23, 2018 at 7:42 am

Your registration checkout page shouldn’t have pagination, and anything you add to the page before or after the shortcode should appear. May I ask do you have a custom page template set for that page? That may be causing the issues you’re seeing.


Porter

November 23, 2018 at 7:49 am

This reply has been marked as private.


Josh

  • Support Staff

November 23, 2018 at 7:56 am

I’m afraid that screenshot doesn’t offer much as far as clarity. The page attributes settings will be where you’ll select the page template.

In any case, the code I shared with you wouldn’t affect that page, because it’s a WordPress page. The code will only affect single Event Espresso event custom post types.


Porter

November 26, 2018 at 4:15 am

This reply has been marked as private.


Porter

November 26, 2018 at 4:17 am

This reply has been marked as private.


Josh

  • Support Staff

November 26, 2018 at 10:16 am

The pagination as you describe it is a feature added by the Jupiter theme. One way to disable that for the event page would be to copy the Jupiter theme’s mk_get_single_post_prev_next() function (found in the theme’s general-functions.php file), put the copy into a custom functions plugin or child theme’s functions.php file, then add this near the beginning of the function:

if ( is_singular( 'espresso_events' ) ) {
	return false;
}

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!