Support » Plugin: Genesis Featured Page Advanced » Title’s HTML tag

  • Resolved franciscogs

    (@franciscogs)


    Hi, is there an easy way to change the HTML tag of the title without jumping into the code? By default it’s tagged as “<h4>” which I’d like to change to <h2>.
    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi franciscogs,

    Yes there is actually a filter for that fpa_page_title_heading. To change the heading you would do something like:

    add_filter( 'fpa_page_title_heading', 'change_fpa_heading' );
    
    function change_fpa_heading( $heading ) {
        $heading = 'h2';
        return $heading;
    }

    Let me know if you have any questions or run into any issues.

    Best,
    Nick

Viewing 1 replies (of 1 total)
  • The topic ‘Title’s HTML tag’ is closed to new replies.