Forum Replies Created
I’m still having issues with this. Where are product buttons defined for this theme? I only want one button type, regardless of the type of product (variable, external, out of stock, etc.).
My shop page looks inconsistent with all the different button types.
I would prefer the simple green shopping cart button for every product type. The page doesn’t look as clean with these different styles. If you can point me to where the buttons are defined in the theme, I can try to fix them myself. I’ve been searching through the code and can’t seem to find them.
I’ve created an alternative solution that seems to work for now.
Seems to be okay now
No, my question is how to get the features of each membership added to the membership table.
You’ll see on the left there is a list of features. Then, for each membership there is a checkmark showing that it’s included in the membership.
That’s what I’m trying to do for my membership page, but I’m not sure how to add the features to the table.
I’m not sure how to add the features for the table. I fixed the header description length, but how do I add what’s included in each membership?
I want to show a comparison table like the one in the example site.
You’ll see there are features like “number of courses” and an answer or check for each membership if it’s included. I’d like to add that to my table.
How do I do that?
I’m seeing the font shown in the image above. It doesn’t match the font used throughout the site for articles. Not sure what the font name is, but it’s visibly different in the photo.
Looks like the latest version of the plugin solved the errors.
I was using learnpress Assignments version 3.0.7
Why didn’t WordPress tell me to update that plugin? Will learnpress plugins always have to be updated manually?
I’ve been adding in more content today, and realized I cannot create “Assignments”. Maybe the warning is related. Just wanted to document this additional Assignments plugin issue.
Did you release another version of Assignments Plugin? I would like to have this feature for my courses.
Yes, I have the latest versions of both, but still have the warning in the admin courses page.
I think I have it fixed. Is there a way to change the featured image size for the archive page? Seems like it is getting cropped/resized. I’d rather it maintain the original image proportions. Thanks
Thanks any ETA on when the next update will be released?
Thanks, Do you have an estimated day when the new WP Events Manager version will be released?November 7, 2018 at 6:05 AM in reply to: Add Event Date, Time, and Location to the Event Page #366376
Played around with it some more and found the solution I needed. Posting it here in case someone else wants to use this modification. Let me know if there’s a better way to write this code.
<li> <div class="label"><?php esc_html_e( 'Date', 'course-builder' ); ?></div> <div class="value"><?php echo date('m/d/Y', strtotime(wpems_event_start())); ?></div> </li> <li> <div class="label"><?php esc_html_e( 'Time', 'course-builder' ); ?></div> <div class="value"><?php echo date('h:i a', strtotime(wpems_event_start())); ?></div> </li> <li> <div class="label"><?php esc_html_e( 'Location', 'course-builder' ); ?></div> <div class="value"><?php echo esc_html_e( wpems_event_location() ); ?></div> </li>November 7, 2018 at 5:42 AM in reply to: Add Event Date, Time, and Location to the Event Page #366366
Okay, so i’ve added in the labels for Date, Time, and Location, but I’m having trouble getting those reference variables to print.
Here’s what it looks like now w/ my modifications
Here’s the code I’m using in
booking-form.php. Can you help me modify this so that it prints properly?
<li> <div class="label"><?php esc_html_e( 'Date', 'course-builder' ); ?></div> <div class="value"><?php echo esc_html_e( $event->wpems_event_start ); ?></div> </li> <li> <div class="label"><?php esc_html_e( 'Time', 'course-builder' ); ?></div> <div class="value"><?php echo esc_html_e( $event->wpems_get_time ); ?></div> </li> <li> <div class="label"><?php esc_html_e( 'Location', 'course-builder' ); ?></div> <div class="value"><?php echo esc_html_e( $event->wpems_event_location ); ?></div> </li>
Okay, I poked around and found this toggle switch called “Preview”
Just wondering if this is exactly how the student will see the quiz when they enroll in the course.
Screencast –> http://recordit.co/S3Ai9UTwLM
Please verify if what I view when the “Preview” is toggled on is what the student will see when they go to take the quiz.
ThanksNovember 6, 2018 at 3:27 AM in reply to: Add Event Date, Time, and Location to the Event Page #365804
Yes, i’m not sure which functions will return the event date, time, and location.
Do you have example code I could look at?November 2, 2018 at 9:43 PM in reply to: Add Event Date, Time, and Location to the Event Page #365116
Yes that would be ideal.
The event date, time, and location aren’t on the single event page at all. I think this is important for my guests to know this information before registering!
Okay, I figured out how to fix this issue in case someone else needs help with it.
The goal was to have my blog posts in the format
url/blog/postnameand the events with the format
If you use a custom permalink structure:
/blog/%postname%/you’ll need to go into your child theme and move over one of the WP Events Manager files. Otherwise, your events will have the structure
url/blog/events/eventnamewhich is ugly.
public/wp-content/plugins/wp-events-manager/incand look for the
class-wpems-post-types.phpfile. Copy this into your child theme into a
Then, search through the document for the word
rewrite. You’ll need to change all instances of this line from
'rewrite' => array( 'slug' => _x( 'event-book', 'URL slug', 'wp-events-manager' )),
'rewrite'=> array( 'slug' => _x( 'event-book', 'URL slug', 'wp-events-manager' ), 'with_front' => false),
Then save the file.
Go back into WordPress dashboard and go into Permalinks. Save all permalinks (again) to flush them. This will rewrite the structure.
If all goes well, you will achieve the structure above. Hope this helps!
Yes, I used the custom structure you provided. The problem is now my events urls are
I want to remove the
/blog/slug from all event pages including the events archive. I read that this can be done in the custom post type declaration.
Does this make sense?October 29, 2018 at 10:05 PM in reply to: Fix grayed images for courses added to cart (woo commerce) #363475
Okay, that worked! Any ETA for when the featured image will be added for this theme?
I want the events page to be
When I updated the permalinks to include a custom permalink type…
url/blog/postnameit changed all post types to include
/blog/slug at the beginning.
I read somewhere, that this can be removed by rewriting the custom post type definition to remove the
/blog/slug for certain custom posts.
I just need to know where in the WP Events Manager plugin, the Events custom post type is declared so that I can add in the rewrite code…
'rewrite' => array('slug' => 'portfolio', 'with_front' => false),
Then I can have the
url/blog/postnameformat for blog posts and
url/events/eventnameformat for events.
Does that make sense?
I just need to know where the Custom Post Type for “Events” is declared.
Then I can reference the “rewrite” parameter and remove the “/blog/” slug from the beginning. I don’t know where you declare events in this theme. I’ve seen this mentioned many times on WordPress forums talking about permalinks.
Here’s an Example
Once I put in a custom permalink structure
I should be able to rewrite the Events Post Type
'rewrite' => array('slug' => 'portfolio', 'with_front' => false),
My problem is, I don’t know WHERE in your code, the Events Post Type is created. Then I can copy it over to my Child theme and make the modification.
This problem has to be fixed, as I need to migrate blog articles that use the /blog/ permalink structure
I don’t want my events to be listed with a
/blog/events/permalink structure, as this doesn’t make visual sense.
Here’s another Example with a custom theme – looking for this code snippet.