• Resolved Jan Pencik

    (@janpencik)


    Dear Omega Developer,

    Thanks for great theme! I have a small issue – I really need to give widget title H2 class and I am constantly getting syntax error ??

    I found this code in lib/functions/hooks.php

    function omega_register_sidebars() {
    	omega_register_sidebar(
    		array(
    			'id'          => 'primary',
    			'name'        => _x( 'Primary', 'sidebar', 'omega' ),
    			'description' => __( 'The main sidebar. It is displayed on either the left or right side of the page based on the chosen layout.', 'omega' )
    		)
    	);
    }

    I know I should put before_title and after_title rows there but I am still getting syntax error.

    Could you be so kind and help me here? I would really appreciate it!

    Thanks, Jan

Viewing 1 replies (of 1 total)
  • Hi, changing widget titles to h2 is not good for your site accessibility (SEO wise). Why you want to do it?
    It’s easier to change the style (CSS).

Viewing 1 replies (of 1 total)
  • The topic ‘Changing widget titles to H2’ is closed to new replies.