Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Rachel Goldstein

    (@rachelgoldstein71)

    I have had to de-activate this plugin for the time being, because when I updated it, my home page disappeared from my dashboard pages menu.

    Bump.

    I would also like a solution to this. Currently trying to switch themes, but not having this plug in work is holding us back a little

    Plugin Author David Aguilera

    (@davilera)

    Hi Rachel and @trackandfieldmedia,

    Thanks for getting in touch! Regarding the issue with Newspaper, I think this should fix the issue. Last time I checked (a few days ago), featured images were inserted by includes/wp_booster/td_module_single_base.php. In particular, around line 115 you’ll see the following:

    if (get_post_format($this->post->ID) == 'video') {
      //if it's a video post...
      $td_post_video = get_post_meta( … );
      //render the video if the post…
      if (!empty($td_post_video['td_video'])) {
        return td_video_support::render_video( … );
      }
    } else {
      //if it's a normal post, show the default thumb
      if (!is_null($this->post_thumb_id)) {
        …
      }
    }

    Well, we simply need to add an else if right before the else block:

    if (get_post_format($this->post->ID) == 'video') {
      //if it's a video post...
      $td_post_video = get_post_meta( … );
      //render the video if the post…
      if (!empty($td_post_video['td_video'])) {
        return td_video_support::render_video( … );
      }
    
    } else if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $this->post->ID ) ) {
      $img = nelioefi_get_thumbnail_src( $this->post->ID );
      return '<img width="100%" class="entry-thumb" src="' . esc_attr( $img ) . '" />';
    
    } else {
      //if it's a normal post, show the default thumb
      if (!is_null($this->post_thumb_id)) {
        &hellip;
      }
    }

    This way, we’ll shortcircuit Newspaper’s default behavior and print our external featured image. Please, let me know if this solved the issue.

    Plugin Author David Aguilera

    (@davilera)

    Hi Rachel,

    I don’t know why your home page disappeared from the dashboard pages menu. Does this issue still persist? If it does, add the following piece of code in your theme’s functions.php file:

    add_filter( 'nelioefi_use_first_image', '__return_false' );

    and let me know if it works.

    The previous line simply deactivates auto-setting the first image that appears in a post’s content as the external featured image. I don’t think this has anything to do with your issue… but I don’t remember any other changes that might be affecting your Dashboard.

    Thread Starter Rachel Goldstein

    (@rachelgoldstein71)

    Thanks for your reply. I just updated the plugin, and the problem with the disappearing home page in dashboard is solved, without me having to add anything to my functions.php.

    I also edited the file includes/wp_booster/td_module_single_base.php in my child theme, and it still doesn’t seem to be working- does this need to be done in the parent theme instead?

    Greetings David! Same issue here, I am using the newest version of the Newspaper theme, and I need this to be working ASAP. You can view the default site I have setup currently at alexpoucher.com – if you scroll to the Business section this is where I am trying to implement this plugin at. You can see no Images are showing up there. When I click to edit those posts I do see the External Featured Image showing up in the edit post section though but not on the main page where they need to show up at. So I figure the plugin is getting those images OK but having a problem displaying them on the main page where it belongs.

    I have done what you said and added the else if right before the else block in includes/wp_booster/td_module_single_base.php and still not working.

    I can send you any files you may need, or give you any type of access you need to the website in order to get this working. I will also paypal you a donation for your time, I just need this working ASAP.

    Please reply soon.

    Plugin Author David Aguilera

    (@davilera)

    Hi Alex.

    Didn’t see the message. Send me a copy of the latest version of your theme (customers at nelio software dot com) and I’ll look into it.

    Email sent! The first email got rejected by your email server with the attached archive with the theme in it, so I uploaded it to Google Drive instead and shared the link with your email and gave you edit permissions so you should be able to download it. Let me know if you have any problems getting it. alexpoucher at gmail dot com

    Plugin Author David Aguilera

    (@davilera)

    Hi Alex!

    Thanks for sharing the file. Apparently, you already applied the changes I shared with Rachel. Don’t they work? These changes must be applied to the parent theme (they won’t work if you apply them on a child theme).

    Yes I applied the changes to the hard copy of the file and then I uploaded to the FTP overwriting the original one, doesn’t work. Should I be doing something differently?

    Thread Starter Rachel Goldstein

    (@rachelgoldstein71)

    I had applied the change to the child theme- but I just applied it to the parent theme instead, and I still can’t get it to work. Any more help you can provide would be appreciate. Thanks.
    Rachel

    Plugin Author David Aguilera

    (@davilera)

    Alex, Rachel,

    Can any of you, guys, contact me via e-mail (customers at nelio software dot com)? I think it’ll be better if I can discuss the issue directly via e-mail. I’d like to take a look at your sites and see what’s going on…

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Help with Newspaper theme’ is closed to new replies.