puikinsh / Travelify

WordPress theme with Theme Customization API integration, Theme Options, content slider and layout options
http://colorlib.com/wp/themes/travelify/
GNU General Public License v2.0
69 stars 67 forks source link

Post title is appearing above featured image #34

Open nodarik opened 4 years ago

nodarik commented 4 years ago

The post title is appearing above featured image and its without a style Example: https://prnt.sc/r1qf95 http://noworries.today/

Forum links: https://colorlib.com/wp/forums/topic/travelify-has-not-worked-well-anymore/ https://colorlib.com/wp/forums/topic/title-is-appearing-3-times-in-blogpost/

wheijdem commented 4 years ago

To be complete, there are two spots where the title appears incorrectly, see attached printscreen Printscreen

Thanx in advance for looking into this!

punlf commented 3 years ago

I think it is related to a possible syntax error in travelify/library/structure/content-extensions.php In theme version 3.0.8, the following code in the previous version the_title( '', '', false ) has been updated to the_title_attribute( '', '', false ) For example, this code is present on lines 119 and 151. However, the function the_title_attribute has a different syntax with the function the_title . To follow the syntax of the new function, the code should be like this: the_title_attribute( array('before' => '' , 'after' => '' , 'echo' => false ) ) The code in travelify/library/structure/content-extensions.php need to be updated by the author or contributors.