• Resolved Bernardo Klock

    (@bernardklock)


    Hello Robin! First of all, congrats for this awesome plugin! It helps a lot.

    I need to adjust the heading of the block removing the <h3> tag, as you can see bellow:

    https://prntscr.com/p27rif

    Tried to find on every php file, but couldn’t get it.

    What is the file to change it?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    You can change that using the scriptlesssocialsharing_heading_element filter. If you don’t want it to be a heading, you can convert it to a div element, for example:

    
    add_filter( 'scriptlesssocialsharing_heading_element', 'rgc_change_heading_to_div' );
    /**
     * Change the default h3 to a div element.
     *
     * @return string
     */
    function rgc_change_heading_to_div() {
    	return 'div';
    }
    

    Hope that helps you get started–

    Thread Starter Bernardo Klock

    (@bernardklock)

    Awesome helping. Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove From’ is closed to new replies.