Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Anwer Ashif

    (@anwerashif)

    Is anyone there can fix my problem?

    You’ll need to post your code before anyone can assist.

    Thread Starter Anwer Ashif

    (@anwerashif)

    I have added this code to my functions.php file

    //* Register before header widget area
    genesis_register_sidebar( array(
    	'id'          => 'before-header',
    	'name'        => __( 'Before Header', 'theme-name' ),
    	'description' => __( 'This is the before header widget area.', 'theme-name' ),
    ) );
    //* Hook before header widget area before site header
    add_action( 'genesis_before_header', 'bg_before_header_widget_area' );
    function bg_before_header_widget_area() {
    
    	genesis_widget_area( 'before-header', array(
    		'before' => '<div class="before-header-widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );

    And add a text widget in Before Header from Appearance>Widget..

    Sorry, I meant what HTML code are you putting into the text widget to produce those results?

    Thread Starter Anwer Ashif

    (@anwerashif)

    Share Your Content Grow Business <a href=”https://toptradings.net/write-for-us/”>Get Started!</a>

    Those versions of double quotes are the problem, they’re special characters. Try this version:

    Share Your Content Grow Business <a href="https://toptradings.net/write-for-us/">Get Started!</a>

    Thread Starter Anwer Ashif

    (@anwerashif)

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How To Fix Parent URL in Widget’ is closed to new replies.