Giter Site home page Giter Site logo

travelify's Issues

Syntax error in travelify/library/structure/content-extensions.php

Dear Theme Author / Contributor,

I found 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 syntax error has caused a problem as described in the wordpress support forum for the theme:
Plain post title above post image (Error)
In short, in archive page or category page, the title attribute of Image Thumbnail and "Read More" button does not work. And the title of the Thumbnail and "Read More" button, which should only appear on mouse hover, appears on top of the thumbnail and also before the "Read More" button.

Would you please check the code, and see if you can correct the code and update the theme.
Thank you very much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.