Tag Info

New answers tagged

0

This is my personal view if I am the theme user. I would say it depends on the theme features If it's a one page theme? I will like to have all the options in the customizer window. If it's a niche/app based theme? I will just use the customizer for basic options and setup all the other options in my very Theme options panel in Admin Area.


0

If you want to add a class before each widget you should use the dynamic_sidebar_params filter. Another post explains this well. Here's the gist of it. function uft_add_nocontent_class($params) { $params[0]['before_widget'] = '<aside id="%1$s" class="widget %2$s nocontent">'; return $params; } add_filter('dynamic_sidebar_params', ...


0

Here is the solution I've used which is css based. global $pagenow; if (in_array($pagenow, array('widgets.php'))) { function Only_show_to_webmaster_user_things_by_css() { global $current_user; $username = $current_user->user_login; if ($username == 'Your_Username_Here') { } else { ?> <style>#Sidebar_ID_Here{display:none ...


0

You should probably be doing this when it's being displayed, not when the sidebar is registered. For example, sidebar.php or whatever variant your theme is using for the sidebar in question. You're probably attempting to change it before it's been set.


-1

Try the Adminimize plugin. It lets you hide whole chunks of the admin screen and menus from certain user roles or even certain users. If it doesn't do it directly (and I think it may not do this), then you could hook an action to sidebar_admin_page. The easiest thing there (although there are surely more elegant and WP native ways), would be to do a ...


0

Open up that file (mini-cart.php) and edit line 40 where it contains <?php echo $_product->get_image(); ?> Change that to <?php echo $_product->get_image( array( 150, 200 ) ); ?> 150 is the width and 200 is the height. Change it to whatever size you want. After you have done that make sure to clear your cache and restart your browser ...


0

as you're having a background-image with option repeat-y on your body element with id #page, it'll be repeated till the end of the body which includes your footer as well. That causes your assumption that the content reaches the bottom of the page, which is wrong. The coloring on the left is given to the sites wrapper div#page. If you look at your site's ...


0

Your question is kind of unclear but I'll try to answer it. I believe that you want to remove the empty space at the bottom of the content in the sidebar so that page doesn't drag that long. This is happened because the second widget of your sidebar (which shows the timings) contains an image (http://www.tierarzt-wels.at/wp-content/zeiten.gif) with length ...



Top 50 recent answers are included