maeks84
Forum Replies Created
-
Forum: Plugins
In reply to: Text widget help…….Glad it all worked out
MatthewForum: Plugins
In reply to: Text widget help…….The only other thing that I can think of is to try and change browsers, but if it worked before that shouldn’t matter.
Yes, you should be able to change the content of a text widget. The method your using to do it sounds just like the way I try, only it works when I do it. I’m still new to all of this myself. Don’t know what else to suggest, sorry.
Best of luck,
MatthewForum: Plugins
In reply to: Text widget help…….Could it have something to do with what you are trying to put into the box? I think WordPress strips some things out like some HTML and JavaScript.
Forum: Plugins
In reply to: Hiding pages in sidebarI just discovered the “Plugin Editor.” I had been in the “Theme Editor” before. When editing the “Sidebar Widgets” plugin, under “////Standard Widgets,” there is…
function widget_pages($args) {
.....
wp_list_pages("title_li=0");
.....
}which is probably where the
exclude=32&
needs to be put?
But I can’t edit the plugins! (“If this file were writable you could edit it.”) I can only edit the theme files. This is due to restrictions on our hosting, not quite sure why, but it can’t be changed yet.
For now, is there somewhere I can addwp_list_pages("exclude=32&title_li=0");
?
I’ve found thewp_list_pages
command in another theme file and pasted it into the ‘index.php’ file. This added a list of pages and made an invisible page. This caused be to look through the ‘index.php’ file and notice that when it referred to the left sidebar, it was directed to ‘sidebar2.php.’
This is the code in the ‘sidebar2.php’ file.<?php G2::disable_plugins () ?>
<div id="leftbar" class="sidebar">
<ul>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(_g('Left column')) ) : ?>
<li>
<?php _ge ('You will need to enter your own items here, or enable the Widget Plugin') ?>
</li>
<?php endif; ?>
</ul>
</div>Can I put in some kind of
<?php if (function_exists('???')):?>
do something
that would override the widget pages function, but keep the rest of the functions?I’m sorry if this is hard to follow, I’m writing this as I’m trying out different things and thinking about different possibilities. Also, if it helps, the site I’m working on is https://vermillion.mykansaslibrary.org , specifically the Meeting Minutes area.
Thanks,
Matthew