marquex
Forum Replies Created
-
I will have a look at it, and if i found the isuue will be solved for the next version.
Forum: Plugins
In reply to: [Widget Entries] [Plugin: Widget Entries] Not working in framework gantryGantry?? First time i heard about it
I will have a look at it and tell you if i find out somethingFor me it seems to be still working, using wordpress 3.1.1 and twenty-ten theme. If you want it to display the custom sidebars on the preview you must save the draft before press the preview button.
To set your custom sidebar as default for pages you must have it set on the default sidebars configuration.
Is there any other person with the same problem???
Hi lynn,
It’s the first time I hear about cryptX, interesting. I’ll have a look at the code of widget entries and if find out something about the problem i release a new version.
@stoffl
If you want to customize more than one sidebar, you need to mark them as replaceable in the custom sidebars menu.To do so, you have to click on them while pressing the SHIFT key, you will see how they are selected together.
Then save the settings and when you go to the post edition page you will see the bars you have selectedfor replacement. You can change as many sidebars as your theme has.
Cheers
I will have a look at it, maybe it is some hook issue…
Thanks for the feedbackI’m afraid that is on your theme.
Custom sidebars just replace the contents of your theme sidebar with the content you define. But the number of sidebars that are displayed and their position are defined by the theme. If your theme allows to customize the number of sb, you are lucky, otherwise you will have to change your theme or modify it to get more sidebars.
You are right! Nice one, I will fix it for the next version of the plugin.
Meanwhile you can substitute the code from line 555 to 561 on customsidebars.php – Plugins > Edit > Custom Sidebars
$id = trim($_POST['cs_id']); $name = trim($_POST['sidebar_name']); $description = trim($_POST['sidebar_description']); $before_widget = trim($_POST['cs_before_widget']); $after_widget = trim($_POST['cs_after_widget']); $before_title = trim($_POST['cs_before_title']); $after_title = trim($_POST['cs_after_title']);
replace it with:
$id = stripslashes(trim($_POST['cs_id'])); $name = stripslashes(trim($_POST['sidebar_name'])); $description = stripslashes(trim($_POST['sidebar_description'])); $before_widget = stripslashes(trim($_POST['cs_before_widget'])); $after_widget = stripslashes(trim($_POST['cs_after_widget'])); $before_title = stripslashes(trim($_POST['cs_before_title'])); $after_title = stripslashes(trim($_POST['cs_after_title']));
The background color has nothing to do with the plugin, Custom sidebars just change the content of the sidebar, so if you had white or transparent sidebars before using the plugin, you will keep the same color after using it.
You will have to edit your theme css to get the color you’d like.
Nice azzcat!! probably you had something weird in your previous installation, plugin issue i think. I’m glad you make it work ??
@kateduda, yes, you can change profile pages sidebars using the custom sidebars plugin.
@teauser, new sidebar data is stored in database, in the wp_options table for general sidebars and in the wp_postmeta table for specific sidebars for post and pages.
@azzcat, for me it’s working nice, i think the problem may be a conflict with other plugin you have insalled. Can you tell me whwat plugins are you using?
i meant
wp_footer()
Well, now you understand the meaning of
‘Dont forget the wp_head() function‘
Also i recommend not to forget
wp_foot()
either:https://blog.buckleupstudios.com/wordpress-wp_head-wp_footer-functions
Cheers
I mean in v7.0.1. The new hook is wp_head, and there it is where the replacements of sidebars happen, so, if you are not using the wp_head action, everything should work on admin area but the replacements (the very important thing) don’t.
But it is really strange you are using a theme that doesn’t include
wp_head()
in your header.php file.