• Resolved joeco

    (@joeco)


    Hello,

    Thanks for a great plugin.

    Which file do I need to modify to change the contents of class ewd-ufaq-faq-title-text so the FAQ title is wrapped in h3 tags instead of h4 tags? <h3> … </h3>

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hello joeco,

    All of the front-end output is built on templates that can be modified, in a non-destructive way, by creating your own version of any template and placing it in your child theme. You can read more about this here: https://doc.etoilewebdesign.com/plugins/ultimate-faq/developer/. The template you want to duplicate and modify is called faq-title.php.

    Thread Starter joeco

    (@joeco)

    Hi,

    I followed the instructions and placed the faq-title.php in the ewd-ufaq-templates directory in my theme. It works fine except there is unneeded <h4></h4> tags:

    <div class="ewd-ufaq-faq-title-text">
    			<h4></h4>
    <h3>My Title</h3>
    			
    </div>

    Here’s the modified faq-title code:

    <div class='ewd-ufaq-faq-title-text'>
    
    			<<?php echo esc_attr( $this->get_option( 'styling-faq-heading-type' ) ); ?>>
    				<h3><?php echo wp_kses_post( $this->faq_title ); ?></h3>
    			</<?php echo esc_attr( $this->get_option( 'styling-faq-heading-type' ) ); ?>>
    
    		</div>

    How can I remove the empty <h4></h4> tags?

    Thank you!

    Thread Starter joeco

    (@joeco)

    Hi,

    Nevermind, I think I found the solution. Simply remove the two php lines. Correct?

    Thanks!

    Plugin Support jaysupport

    (@jaysupport)

    Yes, that would work for what you want to do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ewd-ufaq-faq-title-text change tag to’ is closed to new replies.