miroslav
Forum Replies Created
-
Forum: Plugins
In reply to: Excluding widgets from certain template filesI had to read your 2 posts very carefully several times before I got your point (my knowledge of PHP is very limited). Quite an elegant solution, although I hope that in the future the widgets plugin will allow users to select which widgets will show up on which template via an easy-to-use admin menu.
Forum: Plugins
In reply to: Excluding widgets from certain template filesSuper info KatGirl, thanks! ??
But, wouldn’t hard-coding the widgets into your template files do away with the key widgets’ functionality, namely the ability to just drag and drop widgets to your sidebar from your Presentation > Sidebar Widgets menu?
Forum: Plugins
In reply to: Excluding widgets from certain template filesIt was 1 day, not 1 hour, miklb…
Forum: Plugins
In reply to: Pull Subscribe2 code to the sidebar – Help Please!Thanks, aadil! Will try it out… ??
Are you sure it’s
<?php sidebar2(); ?>
and not<?php subscribe2(); ?>
? I couldn’t find any sidebar funtion inside the plugin file.Forum: Plugins
In reply to: Pull Subscribe2 code to the sidebar – Help Please!Above, I posted a way to include the Subscribe2 subscription form in the sidebar of any widgetized theme.
Does anybody know how to include the same in the Sidebar for themes that don’t use widgets?
Forum: Plugins
In reply to: Excluding widgets from certain template filesAnyone?
Forum: Plugins
In reply to: Excluding widgets from certain template filesconditionally include the widget code in your theme’s sidebar?
Wouldn’t that turn on/off all the installed widgets at once? If so, that’s not what I need.
Say, I have 5 widgets installed. Here’s what I want:
home – widgets: 1, 2, and 3
single – widgets: 4 and 5
page – widgets: 1, 3, and 5
etc.Forum: Plugins
In reply to: Excluding widgets from certain template filesAnyone?
Forum: Plugins
In reply to: Pull Subscribe2 code to the sidebar – Help Please!If your theme is “widgetized”, you can accomplish what you want by installing the Subscribe2 Widget:
https://www.prescriber.org.uk/subscribe2.php
(Scroll to the second half of the page.)However, if anyone has any ideas how to do this for non-widgetized themes, I would love to hear about it, too!
Btw, you will want to create a separate page for Subscribe2 in any case so that your registered users can modify their subscription preferences.
Forum: Installing WordPress
In reply to: Changing default options for multiple WP installations?Now, I am curious what the outcome of this discussion will be…
The way I see it, the install.php file contains only limited number of options that can be modified and, yes, it does make sense to modify the default admin username (for security purposes).
However, for my purposes, I need more than just the 6 options available in the install.php file. This includes, among others:
– custom permalinks structure
– admin nickname
– use of rich text editor
– admin email
– blog URL (include “www” as default)
– activated plugins
– etc.I suppose, these can be modified only in the upgrade-scheme.php file, so I would need to modify both files.
Btw, where does WP store the selected options AFTER the installation? None of the files discussed above seem to be written to.
Forum: Installing WordPress
In reply to: Changing default options for multiple WP installations?Thanks, nexia! This is exactly what I am after! ??
Any quick hint on how to modify the file, as not to mess up things? Say, I want to have the permalinks turned on by default using a custom URL structure. How would I modify the upgrade-schema.php file?
I am assuming that I should modify the code on line 190:
add_option('permalink_structure');
… but what do I do with it?
Thanks for your help! ??
Forum: Installing WordPress
In reply to: Changing default options for multiple WP installations?Thanks, pizdin_dim! ??
I suppose, I could also hack any of the options_*.php or other files in the /wp-admin/ directory?
Forum: Installing WordPress
In reply to: Changing default options for multiple WP installations?Anyone?