• Resolved defdas2

    (@defdas2)


    Hello. Is it possible to change the heading posts title (entry title) in the latest news widget? (from h4 to h3) Thanks in advance!

    • This topic was modified 1 year, 3 months ago by defdas2.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @defdas2,

    Upon checking, your widget heading belongs to page builder plugin you are using. There should be an option to change it from plugin’s settings.

    If you are unsure, you may contact the plugin’s author for seeking help.

    Thread Starter defdas2

    (@defdas2)

    Hello. Thanks in advance. On the page are both, the sydney ‘latest news’ widget and the pagebuilder siteorigin widget (where I can change the headers). My question refers to the block where the last 3 blog posts appears (Sydney FP: last news) below the employees FP widget). am i wrong? Thanks again !!

    Hi @defdas2,

    Thanks for getting back along with extra elaboration.

    To change the post’s title tag in Latest News widget. You’d need to edit the theme’s file as there is no specific option for this in dashboard.

    Go to your theme’s folder, locate to widgets/fp-latest-news.php, find this line.

    <?php the_title( sprintf( '<h4 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h4>' ); ?>

    Replace h4 tag to h3, so it will look like this:

    <?php the_title( sprintf( '<h3 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h3>' ); ?>

    Please note that this change will be wiped out instantly after theme update. So you’ll need to do this manual change again after theme update in the future.

    Thread Starter defdas2

    (@defdas2)

    Perfect. Exactly what I had thought. I was trying to find out if there was a way to modify it in another way. However, I will do what you tell me. Thanks for answering!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘headings in latest news widget’ is closed to new replies.