Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
partnowjess
tagDiv Member

I noticed that when I edit the post, if the only thing I am doing is changing the sticky status, the revision does not show up in the list below. However, if I make an edit to the text AND uncheck the sticky box, that revision does show up. Unfortunately, it still does not make the post unsticky. I hope you can help us get this figured out!

partnowjess
tagDiv Member

Thanks for your response! I cleared the cache, but unfortunately that didn’t work. Is there anything else I can try?

partnowjess
tagDiv Member

I went and added td-full-layout through the theme panel and that did the trick, thanks!!

partnowjess
tagDiv Member

Thanks so much for your response! I tried your suggestion, but it did not work. Now it is happening with another post!

It’s just taking away the background of the header/menu section and I can’t understand why. Can anyone here tell what’s happening? Thanks!!

http://seattleglobalist.com/2015/06/24/homegrown-extremists-bigger-threat-in-u-s-than-jihadist-attacks-says-study/38755

partnowjess
tagDiv Member

Now we just finally updated our theme to Newspaper 4, and I can’t integrate the Co-Authors plugin. @mbasche, is it still working for you? Could you show me exactly what you replaced in loop-single?

Thanks!!

partnowjess
tagDiv Member

Hmmm…didn’t work to clear the CDN when I tried before. But I appreciate your help!

partnowjess
tagDiv Member

It was the version number! The packaged child theme said version 1, but the stylesheet itself says version 444. Those had to match, then the child theme worked!

partnowjess
tagDiv Member

My master theme is Newspaper, here:
http://seattleglobalist.com/wp-content/themes/Newspaper/style.css

But now I see! Maybe it’s because of the Version 444 typo that the child theme is not working?

partnowjess
tagDiv Member

I did update the child theme, but still couldn’t get it to work! Even when I included nothing in the directory except for the below style.css file, no content would show on my page.

I’m curious whether anyone else has experienced this?

Chris, I appreciate hearing that it just might not be worth it to use a child theme at this stage in the theme’s development…maybe I will just let myself off the hook for now and try to implement it during a later version!

/*
Theme Name: Newspaper Child theme
Theme URI: http://themeforest.net/user/tagDiv/portfolio
Description: Child theme made by tagDiv
Author: tagDiv
Author URI: http://themeforest.net/user/tagDiv/portfolio
Template: Newspaper
Version: 1
*/

@import url(“../Newspaper/style.css”);

/* —————————————————————————-
Your custom style…. here 🙂
*/

partnowjess
tagDiv Member

No, I just activated the main theme instead because I couldn’t get the child theme to work.

partnowjess
tagDiv Member

Thank you so much, this works!!

partnowjess
tagDiv Member

I don’t understand…the code I have that’s in the other thread isn’t going to work in v4.

partnowjess
tagDiv Member

Thanks, yes, that’s what I’m currently using but the code customizations aren’t going to work in 4, I’m afraid…

I think I might try switching to the “Bylines” plugin — seems to do the trick much more painlessly.

partnowjess
tagDiv Member

Here is the code we came up with:

//$buffy .= $this->get_author();
                    $coauths = get_coauthors();
 
$coauthsHTML = '';
 
if (count($coauths) > 1) {
 
    $coauthsHTML .= "by ";
 
    foreach($coauths as $coauth) {
 
        $coauthsHTML .= '<a href="/author/'.$coauth->user_nicename.'">'.$coauth->display_name.'</a> and ';
 
    }
 
    $coauthsHTML = substr($coauthsHTML, 0, -4);
 
    $buffy .= $coauthsHTML;
 
}else{
 
        $buffy .= $this->get_author();
 
}

It shows up in most of the includes/modules files. I just looked for everywhere this line exists:

$buffy .= $this->get_author();

And replaced it with the above. Hope that helps!

partnowjess
tagDiv Member

Arrg! I am sure it’s so close to working, but I can’t get it to. Thank you so much for your help, but when I insert the code it just keeps breaking the page.

partnowjess
tagDiv Member

I think I’m getting very close to figuring this out, but not quite there…any suggestions much appreciated!

Here’s what we’ve got:

*I am using “Co-Authors Plus” that allows you to assign 2 authors to one post. This is an example: http://www.seattleglobalist.com/2013/12/30/an-elusive-japanese-new-years-treat-returns-to-seattle/18592 this post has two authors on the backend, but only one displays on the post.

*I’ve added template tags to functions.php, per these instructions. and I know it’s kinda sorta working ’cause I can get the two author names to show up (but looking totally weird) by adding a line:

$buffy .= get_coauthors();

to td_module_1.php.

*I *think* that I have to add some kind of conditional to this section of td_module_blog.php, to make this work:


function get_author_box($author_id = '') {

        if (!$this->is_single) {
            return;
        }

        if (td_util::get_option('tds_show_author_box') == 'hide') {
            return;
        }

        if (empty($author_id)) {
            $author_id = $this->post->post_author;
        }

right?? like incorporating something here that says “if there are two authors for this post, then use the coauthors tag instead of the author tag”.

Is that possible?

Thanks!!

partnowjess
tagDiv Member

I am trying to integrate this plugin into our site (following these instructions), but having trouble identifying where & how to integrate the template tags.

I think it needs to get added to this code from td_module:

$buffy .= '<span class="td-block-author">';
                $buffy .= __td('by', TD_THEME_NAME);
                $buffy .= ' ';
                $buffy .= '<a itemprop="author" href="' . get_author_posts_url($this->post->post_author) . '">' . get_the_author_meta('display_name', $this->post->post_author) . '</a>' ;
                $buffy .= ' - ';
            $buffy .= '</span>';

But I can’t figure out exactly what to add. Can you help get me going in the right direction?

Our site is here: http://seattleglobalist.com
And here’s an example of a post with two authors (though they don’t display on the front end currently): http://www.seattleglobalist.com/2013/12/30/an-elusive-japanese-new-years-treat-returns-to-seattle/18592

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