This topic has 9 replies, 2 voices, and was last updated 10 years by sharmstr.

  • Author
  • #29384
     sandervm86
    Participant

    i tryed the plugin and its not working atm, maybe the theme is blocking it. this is what they say:

    this only works if your theme uses the get_the_post_thumbnail(); function in its coding. The plugin now has two options:-

    Set featured image from external URL – uses a filter to replace the output of get_the_post_thumbnail (may not work in all themes that write their own function for displaying post thumbnails). The file remains on the external server location.

    In the page it says succesfull only not showing in http://www.receptenmaker.nl/blog
    can you help me out?

    Attachments:
    You must be logged in to view attached files.
    #29386
     sharmstr
    Moderator

    here’s another plugin you can try https://wordpress.org/plugins/external-featured-image/screenshots/

    google is your friend.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #29389
     sandervm86
    Participant

    I payed for the other one lol, maybe Its just i thing i need to Add in child theme?

    #29395
     sandervm86
    Participant

    That one works, Tnx again, and sorry for being a bitch 😛 somethimes when its not working you got frustated. Very good help from you all the time! cant i hire you ? haha

    #29396
     sandervm86
    Participant

    One little thing, when i put it in grid masonry the pictures aint showing (on standard they do) http://www.receptenmaker.nl/blog/

    #30005
     sandervm86
    Participant

    So it don’t look nice 🙂 do you know what the problem is? can you see what’s wrong?

    #30007
     sharmstr
    Moderator

    The problem is that Kleo looks for either the featured image or the first image of the post by way of the kleo_get_post_thumbnail_url function. Either one of those plugins probably use their own info in the db to store the image location.

    I dont see any easy, upgrade safe way of modifying where kleo looks for the image, so what you’ll probably have to do is modify /kleo/page-parts/post-content-masonry.php. You’ll need to ask the developer how they they are storing the image location in the url. More than likely they are using their own meta_key in the postmeta table. Then around line 117 change

    COPY CODE
    
    $img_url = kleo_get_post_thumbnail_url();
    

    to

    COPY CODE
    
    $img_url = get_post_meta( get_the_ID(), 'the plugins meta_key name', true );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #30008
     sharmstr
    Moderator

    Edit “how they they are storing the image location in the url” should be “how they they are storing the image location in the database“.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #30027
     sandervm86
    Participant

    They told me this :

    Hi! Yes, the developer is completely right, you just need to access a post meta called _nelioefi_url, which will give you the URL of the external featured image.

    I tryed : $img_url = _nelioefi_url();
    and $img_url = get_post_meta( get_the_ID(), ‘_nelioefi_url’, true );

    Both not working what am i doing wrong 🙂
    (im not good in this shit)

    Already tnx for helping me out.

    #30032
     sharmstr
    Moderator

    Search their plugin code for ‘_nelioefi_url’. That should tell you how to get it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?