Tag Info

Hot answers tagged

1

Add the following to your theme's function.php. Default values are shown below, except changing 'number' from 45 to 15. Only the changed values need to be included, so you can either leave the default values or remove/comment out those lines. For Wordpress Tag Cloud widget: function custom_tag_cloud_widget() { $args = array( 'smallest' => ...


1

You can add a custom functions.php to your child theme. As long as it's in the child theme folder, it will not be overwritten when you update the parent theme. See http://codex.wordpress.org/Child_Themes. Read the section "Using functions.php"


1

You could do like this: function image_tag_class($class) { $class .= ' my-custom-class'; return $class; } add_filter('get_image_tag_class', 'image_tag_class' ); in case you wanna know more about actions and hooks. Difference Between Filter and Action Hooks? add_filter add_action


1

I think the path to the image is wrong, use get_stylesheet_directory_uri() to retrieve the style.css path. If this isn't it let me know and I will take a closer look. I just dug out an example which worked for me in the past: function my_login_logo() { ?> <style type="text/css"> body.login div#login h1 a { background-image: ...



Only top voted, non community-wiki answers of a minimum length are eligible