Dustin Ames

Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • in reply to: Logo as Featured Image #370239

    Dustin Ames
    Expired Member
    Post count: 28

    I saw what you changed in post-functions. I’m wondering if the problem was because the images were uploaded before I switched to https?

    Thanks again.

    in reply to: Logo as Featured Image #370206

    Dustin Ames
    Expired Member
    Post count: 28

    Thank you so much Giri!

    in reply to: Logo as Featured Image #370149

    Dustin Ames
    Expired Member
    Post count: 28

    Thanks Giri.

    in reply to: Logo as Featured Image #370125

    Dustin Ames
    Expired Member
    Post count: 28

    If you check the source code on the home and listings pages, you’ll see the first place listing image src on each of the listings is pre-pended.

    https://www.potplus.com/ (starting on line 767)
    https://www.potplus.com/listings/ (starting on line 615)

    I added the code you recommended in this post to the bottom of my child theme’s functions.php file, so a thumbnail displays, but it doesn’t adopt the css.

    in reply to: Logo as Featured Image #370103

    Dustin Ames
    Expired Member
    Post count: 28
    This reply has been marked as private.
    in reply to: Logo as Featured Image #369987

    Dustin Ames
    Expired Member
    Post count: 28
    This reply has been marked as private.
    in reply to: Logo as Featured Image #369692

    Dustin Ames
    Expired Member
    Post count: 28

    listing-listview.php and widget-listing-listview.php have been modified and here’s the code in my child theme’s functions.php file:

    
    
    function modify_geodir_featured_image($post) {
    	if ($post->geodir_company_logo) {
    		?>
    		<a href="<?php the_permalink(); ?>">
          		<img src="<?php echo $post->geodir_company_logo; ?>" />
     		</a>
    		<?php
    	}
    }
    add_action('geodir_before_badge_on_image', 'modify_geodir_featured_image');
Viewing 7 posts - 16 through 22 (of 22 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount