Multiple Block Quotes without using HTML

you can create shortcode for that 1.make a shortcode unsing add_shortcode(functions.php) add_shortcode(‘bquote’,’ravs_blockquotes_func’) function ravs_blockquotes_func( $atts, $content=”” ) { extract( shortcode_atts( array( ‘style’ => ‘style1’ ), $atts ) ); return ‘<blockquote class=”‘.$style.'”>’.$content.'</blockquote>’ } 2.now just simply define quote in shortcode(post or page editer) [bquote style=”style2″]your quote[/bquote] it’s output in html like <blockquote class=”style2″>your quote</blockquote> 3.create as … Read more

Animate.CSS with a child theme

The example in the page you linked uses get_template_directory_uri(), which will only give you the parent theme URI. If you want to target something in a child theme, you have to swap that for get_stylesheet_directory_uri(), which will give you the child theme URI, in the event a child theme is being used.

div having different appearances in different themes

You need to be specific when defining your CSS styles so that a theme will not overwrite your intended style. When outputting your markup, perhaps you should even consider wrapping your div element within another div element and assuming this is the only markup on the page, you can specify them both with an #ID … Read more

Multiple search template with separate stylesheets

I’ve never used is_page_template() but I have had good luck with is_page(‘new_search’) regardless of which conditional you use some things to check. Is the is_page_template(‘new-index.php’) working. you may test this by doing something like: if ( is_page_template(‘new-index.php’)) { wp_die(‘new search page’);} You should also use wp_register_style and wp_enqueue_style in your functions.php hooking in the the … Read more

Which files can be replaced in a child theme?

For ie.css specifically, the issue is that it is included via get_template_directory_uri(), which will output the parent theme directory when a child theme is being used. The solution is to add an action hooked to wp_enqueue_scripts with a lower priority, dequeue the stylesheet, then re-enqueue it using get_stylesheet_directory_uri(), which will load it from the child … Read more

Can’t style custom menu

I think you are not targeting the element correctly. Try this: #mainmenu { display: block; } #mainmenu ul.nav-primary { list-style-type: none !important; background-color: rgba(0,0,0,0.25) !important; padding: 5px !important; border-radius: 8px !important; -moz-border-radius: 8px !important; -webkit-border-radius: 8px !important; } #mainmenu ul.nav-primary li { display: inline-block !important; background-color: rgba(0,0,0,0.25) !important; margin-right: 5px !important; height: 32px !important; padding-top: … Read more