Grab featured image url

This topic contains 2 replies, has 2 voices, and was last updated by  Pablo Bra 6 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #426027

    Pablo Bra
    Free User
    Post count: 10

    Hey,
    In a custom theme, is there a way to only grab featured image link not all the html

    Example feature place here: https://wpgeo.directory/supreme-directory/:
    I need only this:

    https://wpgeo.directory/supreme-directory/wp-content/uploads/sites/5/2017/01/193_night-dark-hotel-luxury.jpg

    Not this:

    <div data-src="https://wpgeo.directory/supreme-directory/wp-content/uploads/sites/5/2017/01/193_night-dark-hotel-luxury.jpg" class="geodir_thumbnail geodir_lazy_load_thumbnail" title="Eire Inn" aria-label="Eire Inn" style="background-image: url(&quot;https://wpgeo.directory/supreme-directory/wp-content/uploads/sites/5/2017/01/193_night-dark-hotel-luxury.jpg&quot;); opacity: 1;"></div>
    #426066

    Alex Rollin
    Moderator
    Post count: 27815
    #426099

    Pablo Bra
    Free User
    Post count: 10

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount