How apply one sidebar for several pages in WordPress? - wordpress

I have created one website by WordPress. I have one sidebar that I want apply to several pages. I read a lot of tutorials but I could not find any solutions? How can I do this??

Solution 1
Modify your theme - create custom page template and register new sidebar. It's pretty well documented on WordPress.org
Page templates
Sidebars
Solution 2
If you are not WP developer, this is simper and more user friendly solution for you.
Install Widget Logic plugin.
Add widgets to sidebar via WordPress administration.
Click on widget and specify conditions. For example you can restrict displaying of widget for pages in specific category: is_category(array(5,9,10,11))
For more condition examples read Widget Logic - Other notes section

If you are using avada theme you don't need to do anything, there is already option available for selecting sidebar on any page, so you can choose one sidebar for many page you wish.
If you didn't find Fusion Page Options in edit page screen than you have check your screen options.

Related

Display Woocommerce widgets on normal pages

Is it possible to display woocommerce widgets on pages that are not part of Woocommerce?
You can probably find a plugin to do this, but if you want to get your hands a little dirty you can do a bit of theme development work (you might want to do it as a child theme first though)
You can create a template page https://developer.wordpress.org/themes/template-files-section/page-template-files/
and then include a wigitised area on that page
https://codex.wordpress.org/Widgetizing_Themes

Same widgets on each page Wordpress

How can i avoid same widgets on each page.I add widget on sidebar in widget area but it appears on all the pages having sidebar.I want different widgets on different pages sidebars.How can i do this.I am new to wordpress.
This can be done with the Jetpack plugin. Once activated you can choose what widgets display on what pages:
The Widget Visibility module enables you to configure widgets to appear only on certain pages (or be hidden on certain pages) by using the Visibility panel.
Visibility is controlled by five aspects: page type, category, tag, date, and author. For example, if you wanted the Archives widget to only appear on category archives and error pages, choose “Show” from the first dropdown and then add two rules: “Page is 404 Error Page” and “Category is All Category Pages.”
I prefer the Custom Sidebars plugin. It comes with less overhead than Jetpack, but if you need any of the other features Jetpack provides: go for it!
You can use the Display Widgets WordPress plugin. It is a super light weight plugin and will do exactly what you want!

Is it possible to somehow add data specific to an individual page's widget in Wordpress?

I want to add a google maps widget to Pages on a Wordpress site. They all have the same Template with a Sidebar but the map will be unique for each. I feel like there should be a way to populate the widget from the edit page screen for that Page. Does each Page actually need it's own Template?
This seems limiting maybe I'm missing something. If the question is unclear I let me know but I think this should be something ppl have run up against before.
I would suggest the integration of a wordpress plugin to accomplish this. It will be fairly easy to do.
If you want to do this without purchasing any 'pro' versions of a plugin and don't mind writing some simple code, then I would suggest Simple Google Map. You will have to insert a shortcode into the widgetized sidebar area. Here is the plugin link - http://wordpress.org/extend/plugins/simple-google-map/
In order to customize each page's sidebar area, You need to write some code. Please refer to this article which will explain how http://www.wpbeginner.com/wp-themes/display-different-sidebar-for-each-post-and-page-for-wordpress/
It involves a simple alteration of your 'single.php' file and the usage of 'custom fields' so that you will be able to do this from the edit screen of the page, just like you wanted to do!
Use a plain text widget for each map and Widget Logic to select the page it appears on: WordPress › Widget Logic « WordPress Plugins

WordPress - Modifying the MediaFlux theme

I have installed the MediaFlux theme from Mojo-Themes on my website at www.sjsueconomics.org. Here are my questions:
As you can see on the website, the blue menu at the very top of the page currently displays Page Titles. I want to display External Links there instead. How do I modify the code to do it?
The main menu (red text below the logo) currently displays Categories. Without changing the style or appearance, I want to display the Page Titles instead. How do I do it?
Thanks in advance!
The company you paid for the theme provides support, not a community which has no access to this product.
http://wordpress.stackexchange.com ; customizing a paid theme while providing no code (and having no right to provide any code) is not an appropriate subject for a StackOverflow question
if the theme supports custom menus, there ought to be a Menus page in the admin, under Appearances probably, or perhaps Settings. Go there, then create a menu with the pages or categories you want, then tell the theme to use the menu you created instead of the default. If the theme doesn't have such a feature, you'll need a programmer.

Custom per-page sidebar widgets in Wordpress.. possible?

Let's say I'm doing a site about cars, and in the main content area there are a few paragraphs about a particular car.
In the sidebar, are several standard widgets. But I also want a widget with an 'info panel' about the particular car.
So what's the sanest way of putting in a per-page widget in Wordpress? I guess ideally the info-panel could be entered via the standard page editing in Wordpress. (or is this something a plug-in already covers?)
Widget Logic plugin:
http://wordpress.org/extend/plugins/widget-logic/
Another Option would be to download and install the Graceful Sidebar Widget. This plugin enables you to create a sidebar that with content specific to each page or post. You specify the sidebar content right inside the post edit screen. Hope this helps!
Enjoy!
Mike

Resources