How do I enable widgets?
-
How do I enable widgets on my events page and on single events pages?
The page I need help with: [log in to see the link]
-
Hello @rosbiffer,
To add a widget, please follow the below-mentioned steps:-
- Go to your WordPress site and log in to the admin dashboard.
- In the dashboard, go to “Appearance” and then click on “Customize.”
- In the Customizer, look for the “Widgets” or “Widget Settings” option. The location may vary depending on your theme.
- Choose the widget area where you want to add a widget (e.g., Sidebar, Footer, etc.).
- You’ll see a list of available widgets. Click on the “+” icon or “Add a Widget” button to open the widget selection.
- Browse through the available widgets.
- Configure the settings for the added widget.
- After configuring the widget, click the “Save & Publish” button to save your changes.
If you need further clarification or require additional information, please let us know.
Always happy to help!-
This reply was modified 2 years, 4 months ago by
eventprimesupport.
Sorry, I wasn’t specific enough. I know how to create a sidebar, add widgets to a sidebar but I can’t make that sidebar appear on the calendar page with the shortcode [em_events], nor on any single event page.
Hello @rosbiffer,
After reviewing your website, it seems that the sidebar is not displayed for the “Events” page( https://shh-uk.org/events/ ) as you indicated, however, the single event page ( https://shh-uk.org/event/cognitive-dysfunction-online-support-group/ ) does indeed feature a sidebar.
This configuration is specific to the theme, however, we suggest going to the “Pages” menu and finding the “Events” page (generated by EventPrime). Click on it to open the editor. Once there, navigate to the “Page” settings tab on the right side, and ensure that the “Sidebar” option under “Theme Page Options” is set to the appropriate choice.
I hope this helps.
I am able to edit the events page as it is a physical page, so I can select a sidebar for that one. However, the single event page is produced from the template and is picking up the default sidebar. How do I change the sidebar on all the single event pages ?
Hello @rosbiffer,
You can create a custom post-type template file( single-em_event.php ), inside the currently active theme’s folder, and in this file, you can define the specific content you wish to showcase in the sidebar.
OK, I’ve tried but got lost. I have a page called single-ep-event.php in the plugin but am I supposed to create a new file called single-em_event.php? I have created a sidebar called EventsSidebar so where do I put the call to display that instead of the default pages sidebar?
Hello @rosbiffer,
You will need to create a file named “single-em_event.php” (for Classic Themes) or “single-em_event.html” (for Block Themes) inside your currently active theme’s folder, located under “wp-content > themes”.
In this file, you can include the code for your sidebar which is specific to the single event page.
I hope this helps.
Could you give me some help into what code I’d need to put in the page to load a specific sidebar? Have got a bit lost looking for it myself.
@rosbiffer – sorry for the delayed response. We have been trying to offer the best solution, but any custom code changes without proper testing on the site may lead to unexpected results. So, we cannot share the code change suggestions.
The topic ‘How do I enable widgets?’ is closed to new replies.