Home User profile
tagDiv Member
I'm a 31-year-old programmer out of Dallas, TX. I use tagDiv products on a blog for personal use as a multi-author Dallas Cowboys fan-blog. I enjoy tackling problems and helping others when I can. *** I AM NOT A TAGDIV SUPPORT TEAM MEMBER *** I help out on the support forums as a hobby and am not affiliated with tagDiv or the Envato Marketplace.
Bryson T
tagDiv Member

Part of it not understanding what you mean by “disk cache” in that reply. I have APC, Varnish, Memcache, Apache and Nginx all running. It’s a Cloudways managed setup, so my options are somewhat limited. My understanding is that WP Super Cache doesn’t work with reverse proxy or any of the other advanced stuff.

Your installs may not matter on this issue because you don’t have but a few plugins on any of the demos. Extra plugins means extra bloat and more need for premium caching.

Any further help on that is appreciated.

And as for W3TC’s claim that some flush method is responsible… are any instances used in the theme that I missed?

Thanks, Radu.

Bryson T
tagDiv Member

And for good measure, I’ve tested with all gzip compression settings in W3TC disabled. No change.

Bryson T
tagDiv Member

@akpanpromise I like the clean look, but no images are showing up. I can click on images inside of posts and they will load in their windows, but they aren’t showing anywhere on the site elsewhere. I’m on Chrome and Firefox using Win10. Not sure what’s causing that. If I had to guess, it’s a plugin conflict with the lazy load feature of Newspaper. Might try disabling lazy load to see if the images show, and then isolate the plugins by disabling all and re-enabling one by one.

Bryson T
tagDiv Member
$td_a_target = ' target="_blank"';
$authorMeta = get_the_author_meta('twitter');

if ($authorMeta != "") {
    $buffy .= '<span class="td-social-icon-wrap td-twitter-author"><a' . $td_a_target . ' href="' . $authorMeta . '" title="Twitter"><i class="td-icon-font td-icon-twitter"></i></a></span>';
}

Add an if statement after you grab the author meta field to check if it exists first, then if it does, add the icon. That basically says, “If $authorMeta variable is not empty, then do $buffy.” And if it is empty (i.e., author has not entered a Twitter handle) it’ll do nothing extra.

Just a tip. Might take a look at if statements on php.net for more.

Bryson T
tagDiv Member

The demo images are not for sale and therefore not included with the theme purchase. Instead, you get the default demo images that a lot of WP themes get. It’s a licensing issue and one that is noted somewhere, either on the demo site, on envato, or in the documentation; I forget where.

As for the grey areas around the images, install the plugin for regenerating thumbnails (Theme info panel has info for it and so do the docs), run it, and your images will fit the spaces provided.

Bryson T
tagDiv Member

That’s called lazy load. The pictures are supposed to show up delayed like that so the content can load faster. Search the forums if you want to disable it in Newspaper; there’s a code tutorial lying around somewhere. Theme panel only includes controls for the annimation effects under Theme Panel > Template Settings

Bryson T
tagDiv Member

Still having the issue. The errors in the console are all coming from (or trace back to) the DoubleClick ad network (Essentially AdSense). They shouldn’t be affecting mobile vs desktop tap space.

The issue is one I’ve seen before. I don’t know if it’s related to the theme but I’d imagine so since switching themes automatically fixes the problem. When using a 3rd party provider of AdSense ads there is this transparent block (320×320) that appears below ads. You can’t see it, but it covers up menus usually. This time, the header ad was covering up the first position in the block on mobiles. Added height: auto !important to the img tag in the custom css for mobiles and problem solved.

I had to do the same for the sidebar ads as well a while back. I had a grid up top for a long time which, like the menu and logo – uses a higher z-index value so the transparent block fell beneath it and wasn’t an issue.

Container limits on images in ad spaces (I only use theme provided spaces for ads) would be a smart addition to Newspaper and NewsMag (where I first noticed the problem last year). But this is resolved for me now. Thanks for looking into it, Alin.

Bryson T
tagDiv Member

Thank you, Emil. That helps.

Bryson T
tagDiv Member

It may have effects on that functionality but nothing that I’ve been able to find. I don’t believe the Heartbeat API is used by Newspaper for those features on the front end since my installation (Newspaper and NewsMag before that) had no issues. The plugin I mentioned doesn’t stop Heartbeat from working but it does reduce the numerous needless calls that WP makes to it in a lot of cases. Sort of depends on what other plugins you use but you really just have to try it out and see if another plugin’s admin settings/controls stop working… that’s the most likely scenario though I haven’t found yet.

Bryson T
tagDiv Member

Check out the Heartbeat Control plugin in the repo – set it to only work on post and page pages (on the backend for auto-save and such) and set it to 60 seconds (max); it’ll bring the admin_ajax.php issue down drastically, even with post and comment counts going. It hasn’t been updated in 3 months but works perfectly on WP 4.3 with latest theme; it’s not very version dependent.

Here’s a link: https://wordpress.org/plugins/heartbeat-control/

Hope that helps you out. Worked wonders for me when I was still on shared hosting, and better now.

Bryson T
tagDiv Member

Patch files are just the changed/added files between versions, and they’ve worked smoothly for consecutive versions for 18 months now. Had the same problem here with the static property being accessed, upgrading from 6.3 to 6.3.1.

Bug. Uploading the patch and the includes directory from the Newspaper.zip archive got everything done.

  • This reply was modified 11 years by Bryson T.
Bryson T
tagDiv Member

@evanguerra Very nice. Clean and simple.

Bryson T
tagDiv Member

Thanks again, Alin.

Just for those reading along here, the problem was user error. I was setting the images inline (left, right alignment) which was causing the issue. Setting the images to no alignment is the trick with smart lists. It just won’t look right in the editor.

Bryson T
tagDiv Member

Email sent, and will try the CSS later today. Thanks.

Bryson T
tagDiv Member

1. The only plugin I have on my setup that affects formatting is TinyMCE Advanced, which I just disabled for testing. The results remained the same with and without that plugin activated. See output: http://i.imgur.com/JnN3Nd5.png

As I was testing this I found that the behavior isn’t consistent.

  • The first block of text in a smart list item is not in <p> tags
  • An empty <p> tag appears after the first block of text
  • Subsequent blocks of text after the 2nd one are formatted properly in a <p> tag
  • Attempting to manually add additional spacing to separate the first two blocks of text causes the output to act normally (See below screenshots)

Here’s my visual editor entry with normal spacing:

Here’s the front-end smart list output of normal spacing:

If I try to double that spacing, either by pressing enter (carriage return) or shift+enter (line-break), then everything acts normal, which still isn’t the desired result. Here is a sample of the visual editor input demonstrating this:

And here is the output:

Makes no sense to me unless the theme (smart list) is trying to play with the <p> tags and getting it wrong. Haven’t found any way to explain it though.

2. The image in my screenshot is 188×300 at medium. I tried setting it to full size, which exceeds 300px in both directions and that did not help. It happens with other images too. Landscape and portrait images are doing it though that portrait image is showing the most spacing to the right, one of which is 275×183 at full size. Not finding a common denominator there.

It would seem that the image must be of an exact proportion ratio to avoid this problem, but nothing is documented of the sort. That’s a bug in my mind. I say that because it’s obviously inconsistent with respect to orientation and pixel dimensions. Any ideas?

Bryson T
tagDiv Member

Good point on #4. Seems like TPS includes support for refreshing AdSense ads via ajax, not sure about Amazon CPM though. Curious to know if that works for you.

Bryson T
tagDiv Member

Good points on 1-3. I second those.

#8 – Super Socializer is a great plugin for that and more. Pretty stable with tagDiv themes and doesn’t drag as much as others. Free, available in plugin repo.

For #5 there is a plugin for that called Theia Post Slider. If you’ve ever seen slider on BleacherReport.com – this is exactly like it. Good plugin. Haven’t used it with Newspaper v6+ yet. And for #4, it’s really kind of unnecessary since it only trumps up pageviews in a way that doesn’t count for ads and such. Ads need a page refresh to count a new view. But then again, Theia Post Slider does include some functionality for this and for ads, so you might want to check it out. It’s on Code Canyon. Good price, and support.

Bryson T
tagDiv Member

@NTellier85 Oh and give the docs a read first to make sure you got everything set. Might want to clone your site into a development site to give things a test run before changing the production site.

Bryson T
tagDiv Member

@NTellier85 It’s only available after activating v6+. New version adds a Newspaper menu item just under Jetpack that has several sub-items. But once you activate the new version, you’ll be taken to the welcome screen anyway, which is what my screenshot showed you. Pretty quick to go through the update script from there, but will take a few minutes where things get hairy on the front-end.

Bryson T
tagDiv Member

There ya go. It’s under the admin menu: Newspaper > Welcome

Bryson T
tagDiv Member

@NTellier85 The setting for that spot is under Post Settings > Sharing in the theme panel. Operates separately from the other settings for icons and counters.

Edit: For those who need to know where it is.

Glad you got it figured out. Those mentions come in handy.

Bryson T
tagDiv Member

@NTellier85 Nice site. Will look even better with v6 installed.

BTW – I checked out the M&S “The Wolf” video and shared it. I noticed you’ve got your name entered wrong for the Twitter via username. Shows via @Festival Snobs and that space breaks and benefit of the via tag. Should change it to via @FestivalSnobs if you want it to do any good, since that’s your handle on Twitter.

Still, like the site. Post back here once you update the theme. I’d love to see how it looks/works then.

Bryson T
tagDiv Member

Like I said, it’s a starting point.

Lots of containers layered with various backgrounds set. You have to go through them. What I gave you will cover 70% of it if you did it right. Clear caches too (site, CDN, and browser). Use Inspect in chrome or FireFox to identify the containers that need a transparent background applied.

Good Luck.

Bryson T
tagDiv Member

Add this.

.td-page-wrap {
  background: transparent !important;
}
Bryson T
tagDiv Member

Loading fine. Seeing the featured images for every post.

Viewing 25 posts - 26 through 50 (of 286 total)