Home User profile
tagDiv Member
Christopher is a long time WordPress user. Anything else you need to know is private ;-) I *do not* work for TagDiv, but I've been using their themes since late 2013.
simchris
tagDiv Member

a) make sure you fully cleared cache in site/cdn and browser
b) make sure you have enough memory allocated to WP in your wp-config.php file (default 40MB not enough to use Visual Composer!)
c) make sure you don’t have conflicting plugin causing javascript errors in your browser (see: F12/console in Chrome or Edge)
d) most often if changes are seen in the admin panel, but not on the site it’s a caching issue, where the original version pre-change still being shown or cached in your browser

(( I don’t work here … ))

simchris
tagDiv Member

hmmmmmm…..
that didn’t seem to work, might be due to using older version of Newsmag … ( 1.7.1 ) …. doh.

ref
http://californianewswire.com/california-legislature-declares-march-2016-as-brain-injury-awareness-month/amp/

simchris
tagDiv Member

For those who have noticed, yes, the “eyeball” hit counter doesn’t increment for AMP page views, and so I brought this up March 17 and here is the thread with solution:

https://forum.tagdiv.com/topic/how-to-hook-hit-counter-into-amp-header/

simchris
tagDiv Member

Awesome sauce!

Will give this a try and see if it also passes pesky Google AMP validation without any issues (don’t see why not).

I’ll also add link to this thread on my AMP tutorial thread.

THANKS!!

simchris
tagDiv Member

For those who think they’re on the cusp of this stuff (sadly I have to be), there is now also the Apple News Publisher format, which *also* has a beta plugin for WordPress.

So, between
* AMP
* Facebook Articles
* Apple Publisher

I don’t see any theme developer going too nuts in trying to bake all of that in.

HOWEVER, that being said – TagDiv *will* need to (hopefully) come up with solution for the hit counter not incrementing for AMP views, even if it’s a hack (hint!).

That won’t really be possible with the FB and Apple versions as those are essentially custom RSS feeds where the content loads on the other sites/apps (to enable captive advertising outside scope of ad blockers); whereas AMP is part of the site and uses local content, and simply uses cloud based CSS/styles for speed, while stripping out any errant old HTML or javascript.

simchris
tagDiv Member

Make a custom post type, add the text to custom single post template; then on sponsored posts use that custom post type of “sponsored” … kind of need to use plugin, or “roll your own”…

Trick is that a lot of news portals are against the concept, while others are 100% sponsored spam content; and then the ones in the middle are setting it up for themselves based on what they are trying to do.

You also have to deal with making the sponsored post ‘sticky’ on front page if in middle of organic content stream, which is a bit like injecting ad in middle of a query loop for all posts …

So – might be plugin to do this, but CPTs are most likely method.

(( I don’t work here … ))

simchris
tagDiv Member

I don’t work here, or I’d have included a more specific answer with link and all that stuff. πŸ™‚

Just ‘lurking’ here while waiting for some dumb thing to update on my other machine, so have tiny little moments of time to waste, hence my sometimes “short and sweet but hopefully not too annoying” answers around here.

simchris
tagDiv Member

Download the plugin, follow directions πŸ˜‰

simchris
tagDiv Member

Usually clearing cache helps in both site/cdn, browser.

Also, possibly use “regenerate thumbnails” can help also.

That is not “normal” for most sites, but can sometimes happen depending on how your site/server is setup.

simchris
tagDiv Member

I actually have a book I’m working on for optimizing WordPress sites, which is super inclusive with screen shots, example code, speed test graphs, etc. — still working on it; got sidetracked by Google abandoning mod_SPDY for https, and http/2 rolling out which is successor to that on Apache servers, and PHP7 which speeds up WordPress sites by about 50% in some cases just using that …. whole lot of changes as I was getting about halfway done. So, that will be coming soon, but will be updated with all the bleeding edge stuff — and now, AMP tech as well. Never ending !

But – the ebook will have companion site with updates that the book buyers will have access to.

So, stay tuned for that! πŸ˜‰

  • This reply was modified 10 years by simchris.
simchris
tagDiv Member

a) on “most” servers, gzip/deflate must be “on” at server level – you have no access to that

b) on “some” servers you need to add text to the .htaccess file to enable (sound like your host is saying ‘no’ ?)

info/how to
https://varvy.com/pagespeed/enable-compression.html

You may find my tutorial info useful
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/

(( I don’t work here … ))

simchris
tagDiv Member

gzip/deflate should be on for all sites on any hosting plan — if they don’t support it, get another host.

Basically gzip/deflate helps compress the content sent by server to web browser to make the packet smaller, and this alone is good for 20 points on pagespeed tests.

simchris
tagDiv Member

Don’t suppose you’d be willing to switch on the amp plugin, and try the hook in functions to see if it does add it to /amp/ template via the hook provided? And see if it increments.

I’m on the front lines with this, but you’re going to get snowball of queries about this since Google will start pushing ALL its mobile traffic on compatible devices to the AMP version, and so the “counter” will not increment normally with TD themes, and some will think their audience dropped (although one can tell from the transients going way up that AMP versions being served).

I’m basically looking for working code — perhaps you’d consider adding an “tagdiv amp glue” plugin which adds the code into just the amp version via the provided amp header hook — this doesn’t need ajax since amp doesn’t use javascript.

You’re going to get a ton of queries for this — since amp is intended for news sites primarily, as are the themes — and to put it bluntly — this will actually be a superior selling point on ThemeForest to have “AMP counter support” — since almost nobody has noticed yet that their counters aren’t incrementing, but they soon will and freak out (I kind of did this the other day on the CaliforniaNewswire site when I said “hey, how come the audience dropped 70% for some of the articles …” then noticed the 9,000+ transients from the amp pages when using wp-optimize, and wen’t “oh … duh….” yeah “amp views not counted by the counter” —

Upshot – the amp view is being served as much as the mobile responsive views in the googleverse now on some of my sites, counter not incrementing. Of course, I use server side reporting (eg ‘webalizer’ etc) to know “actual” site audience views — but now the counter on all stories waaaaaaaaay down.

So – expect a bunch of newbie complaints about audience drop off once they enable AMP …. not understanding what is actually going on there.

If you can wrangle some working code on your side, for me to test – you’ll save yourself a billion support tickets for both themes as this continues to roll out !

simchris
tagDiv Member

Download from the all files zip on themeforest, unzip, upload via FTP.

simchris
tagDiv Member

Anything can be changed with CSS.

Good trick is to learn to use the “console view” (F12) in Chrome. Using t he “inspector” you can highlight any element on the page and see what the CSS class is. Then you just make a change to that class and add it to the custom CSS box in the theme panel.

TagDiv can help you target the specific class if you don’t want to do that πŸ™‚

simchris
tagDiv Member

The review system is for writing articles, such as reviewing a book or movie. Not people reviewing the article about the review of a book or movie. Lots of easy to use plugins available. πŸ™‚

simchris
tagDiv Member

Poke >> Radu,
when you have a free brain cell to ponder this issue ?

TIA !

simchris
tagDiv Member

As noted in the theme docs, they will update that once it’s been tested as compatible, with the next theme update. Just ignore that. It’s the downside of the “free” bundled version. Just ignore it πŸ™‚

TagDiv will update once it’s tested okay. If it’s a major security fix, and not a “we changed the menu to blue this month” update they will update more quickly.

You can, of course buy a copy of the plugin if you really find that super duper colossal annoying. I used to, now I just ignore it πŸ™‚

simchris
tagDiv Member

Heh… we have ALL done it at least once.

I refer to this as “facepalm mode” πŸ˜‰

simchris
tagDiv Member

Use a plugin. Theme doesn’t have a “user rating” feature, hence why not noted as included or found in demos on themeforest. Lots of good plugins you can use πŸ™‚

simchris
tagDiv Member

You don’t need to enter the key …

if it came with the theme, it’s the bundled version. πŸ˜‰

simchris
tagDiv Member

You need to install just the theme zip, not the ‘all files’ zip.

See the theme docs >> right side of page >> on how to install the theme. πŸ™‚

simchris
tagDiv Member

You can’t until they provide it and test it’s okay.

You can buy your own version, but the bundled version gets updated with the theme.

If there was a major bug fix, they will likely do another dot update for the plugin if it’s necessary.

You don’t “have to get” every new update as it happens. Many “brand new” updates are buggy and can take down your website. So, be careful in always wanting the latest shiny object πŸ™‚

simchris
tagDiv Member

Um, the plugin page is part of WordPress .. ?

Black menu bar on left, “plugins” ?

Upload the plugin, then “activate” it on the “plugins page….”

Also see the theme docs >> right side of page >> for how to install theme.

(( I don’t work here…. ))

Viewing 25 posts - 4,076 through 4,100 (of 9,335 total)