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

The solution we use is called Auto Post Thumbnail PRO which is also available super cheap via Envato/Themeforest.

It will automatically make first image in post the featured image, and also works if it’s a video only post, and you can set a default image, and regenerate (check memory setting, or it will just stop about about 300 items). Works great.

simchris
tagDiv Member

Just for reference, the code I posted in the PageSpeed sticky topic – which can be added to bottom of functions.php file. Your mileage may vary 🙂

function remove_cssjs_ver( $src ) {
    if( strpos( $src, '?ver=' ) )
        $src = remove_query_arg( 'ver', $src );
    return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
  • This reply was modified 12 years by simchris.
simchris
tagDiv Member

Child theme is only needed if you intend to customize the templates by hand. 🙂

WordPress documentation:
https://codex.wordpress.org/Child_Themes

A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. A child theme is the safest and easiest way to modify an existing theme, whether you want to make a few tiny changes or extensive changes. Instead of modifying the theme files directly, you can create a child theme and override within.

simchris
tagDiv Member

AH! Digg Digg likely had a CSS conflict or a JavaScript element not updated, or which was being inserted into the page but not being enqueued, or one of those funky gremlins. Whew!

I hate that kind of stuff.

One of my friends has a site using JetPack, where the the related stories thing kept giving him “too many connections” errors and printing that in the story box – not very fetching as a related story. Turned out is was conflict with the AddThis “Layers” plugin being used for the slider/sticky sidebar social icons (same idea as Digg Digg). Weird.

That bit of code to “sticky” stuff on left side, on any bootstrap related theme might be a recurring culprit, methinks.

simchris
tagDiv Member

Hmmm…. maybe
1) double check that the allow coments box on the POST itself is still checked (I know..dumb… but…)
2) under WP admin > settings > discussion – try toggling those settings on/off, such as the nested comments thing — I’ve seen that conflict with nested theme functions where something is trying to nest inside a nest … or the “number of levels” kind of thing.
3) try resaving permalinks (I know again, it’s worked before…)
4) try changing to a different author, like an author where comments are working.

That’s it for my nutty ideas 🙂

simchris
tagDiv Member

What a plugin named for the purpose it’s designed for ? Whoa! 🙂

What some folks do for optimization is turn OFF all the standard RSS feeds, then create a custom page to use as a single customized RSS feed, along with a photo or thumbnail from the prebuilt sizes, then direct all feed requests to that single RSS feed. Kinda complex, but another way to go.

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

There may be some garbage characters in the comments causing page to break for that section. We had this happen on another site. I think there is a function from the WP codex you can add to only allow “clean” comments in the comments datafield, meaning stripping out the bad characters.

This might not be related to your specific issue, but I had to go through and remove bunch of garbage characters where somebody had pasted something in from another website, or had a URL without escaped ASCII stuff, etc. — basically broken texturize stuff.

simchris
tagDiv Member

Be sure to set the three sizes in the WordPress admin panel under
WP settings > media

Basically
a) WP creates 3 sizes; small medium large
b) Theme creates sizes in functions.php

I usually set mine to match to minimize number of thumbs or un-used sizes. 🙂

simchris
tagDiv Member

HI, Marius
not huge issue as I can fix with CSS.
Just odd.

Note I’m not running any minify stuff, just tagDiv speed booster, along with mod_pagespeed to remove white spaces and remove comments – and cache small images. It’s not doing anything else.

I am using the social media icons top right, and NOT using the login function, which is different from your example, and have the responsive AdSense ads running.

I will upgrade to the latest WP this week and then revisit. 🙂

Usually I am *not* the person with the one in a million gremlin, but this one is mine.

Have a great day!

simchris
tagDiv Member

Ahem… and again, request to make this “on” by default for POST pages, and let people turn it OFF who are NOT running newspaper sites.

simchris
tagDiv Member

Borders seem to be working okay in IE7/Win7-64 and in Chrome/Win7-64. Looks like you got it fixed. Assuming you mean the borders for the data entry boxes.

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

FYI, I tried one of the minify plugins, but it actually broke some of the bootstrap code, and couldn’t figure out why. Now I’m paranoid 🙂

simchris
tagDiv Member

WordPress doesn’t show the image in the summary feed, only the full text feed. This is normal behavior. You would need to edit the WP RSS files manually to add this function, or use a plugin, if one exists.

Normally one shows a summary to stop other sites from scraping full text content, and generally this also means not allowing them to scrap your images.

simchris
tagDiv Member

Yes. Sort of. Technically there is a hack for the WordPress core code for the thumbnail generator — not part of the theme.

However great news for all! The hack widely used (done back in 2011!!!!!), is being rolled into WordPress 3.9 ( $crop parameter in the add_image_size function ).

So, wait just a little bit for WP 3.9 which will solve a wide variety of the “duh” things folks have been asking for since WP 3 launched.

I’m sure once 3.9 is live, Radu/co will put the option in there someplace, since crop from top vs middle-out is more useful for most.

There is a plugin I recommended to somebody else this past week here on the forum, which allows you to specify crop position on upload of image, in a 9 box grid (should be built in to WP, but isn’t).

E.g., in WP 3.9
the functions can be set as so with a crop direction

add_image_size( 'screenshot', 300, 300, array( 'left', 'top' ) );

WP 3.9 also adds HTML5 image galleries (won’t need to use JetPack!); and also audio/video PLAYLISTS!!

Page template filters will really help those who need more “different blah on page blah” stuff.

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

There is, but inconsistent results with some plugins.

If you still have a desktop score below 80, you should make sure you do everything ELSE first (see the PageSpeed sticky topic for my various suggestions for this effort).

I do them manually every other time and don’t fret about those. To gain one more point with everything ELSE done, it isn’t a huge deal.

simchris
tagDiv Member

Looks good! Great job 🙂

simchris
tagDiv Member

I would stick with ONLY enabling Page Cache.

And now … my morning soapbox: brought to you by clean living and cute kittens ….

Remember that if you’re using the TagDiv Speed Booster plugin, it is MOVING things around on the page for better performance when the page is loaded. You do not want the dynamic stuff cached or it won’t show updates to things on pages. Your home page would not show new items, categories wouldn’t show new items, sidebars wouldn’t show new, recent, related, etc.

So, you only want to enable the page cache which will basically serve up a snapshot of the page and not the dynamic stuff which is still called via php.

Newspaper type sites are way more complex than say, a blog about raising rabbits on a farm, or a bicycling blog updated once a month. If you have content updated daily, or even hourly, caching can help with speed and limit load on server, but it can be TRICKY to optimize for YOUR particular website, due to how elements are loaded on pages, where they are, what other optimizations are running, etc.

There truly is no “one click” caching option for any busy, complex website. Blogs sure. Complex websites need to be tweaked for advanced tools like caching, just like all the other tweaks not built-in to WordPress, or the theme.

So, for most advanced users, there is trial and error – nothing to do with the theme, and not covered by support team for your particular use.

The theme devs have “recommended” you only use Page Cache, as that is how they achieve their own high speed rating/score.

So, you may wish to
1) fully optimize your site, outside of caching!
2) enable tagdiv speed booster and make sure nothing breaks if you’re using some kind of external plugin which might conflict with the optimizations (on our site the < > arrows disappear in 3.6, with WP 3.8.1; with 3.5 the slide out “you might like” broke) — you have to decide if this is a benefit for you or not; YOU need to test, decide, then either use or not for YOUR particular solution
3) make trusted backups of your site before doing any caching!!
4) enable W3C and use page cache only; test your site — either determine if it works for you or not, and some trade offs, and if there are workarounds for some things like page counters, random or recent dynamic elements, etc. — and there are forum posts on issues other have faced with using specific plugins, or with certain features in use (e.g., JetPack, forms, membership, bbpress, etc.)
5) adjust, test, adjust, test.

If you have no idea how to do any of that you likely would need to hire a developer at an hourly rate. Or, do what most of us do which is trial, error, forums, Google search, test, retest, learn, fail, learn.

The reason there is no simple “how to” for caching, is that there are a hundred things which might be impacted by that if you turn on every option in the theme and load up a dozen external plugins.

In a perfect world, for caching, the average joe might try this:
1) setup the theme with only the basic functions; no special menu, no JetPack, no “counters” for social media reads, one ad management system or AdSense.
2) enable tagDiv Speed Booster BETA plugin to optimize the placement of the CSS, JS components, Google fonts, et al.
3) put in the basic optimizations: a) gzip/deflate at server level, b) htaccess, c) image optimization tweaks (plugin, and/or functions.php mod from my speed posts)
4) W3C or other caching with minimal page caching settings.
5) test site.
6) turn on the “fun” features like megamenu, jetpack, forms, social reads/likes; choose what works; what doesn’t — either find workaround or don’t use.

There is ALWAYS a tradeoff between speed and features. You can’t have 100 add-ons and have the speed of a site with 15 add-ons. So, YOU need to decide if speed vs features matters, or other way around.

Hope that helps somebody!

Copr. © 2014 Christopher Simmons.

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

@orcn

gzip/deflate is managed at the web server level – it needs to be running for your hosting account. This allows the web server to automatically compress everything sent by the web server from your site to the web browser. This alone is good for 20+ points. This is the #1 thing which should be addressed. Ideally your web host should have this on for your account. If they won’t enable it, move to another host who will!

If you look at my posts there is an example of the .htaccess settings that I used for
the “expiration headers”

For images:
1) you need to use a compression plugin, like smush.it or similar (see comments from others in the thread); this will optimize all the thumbs created by WP and the theme
2) upload well compressed images (e.g., 25-40kb max, not 150kb or 700kb — unless you’re doing some kind of photo/portfolio site where quality is first concern)
3) consider changing the compression level by default in WP, which is done in the functions.php file at bottom using the code I’ve suggested in my posts — setting it to something like “60” vs the default “90” (I think), will cut the size of the thumbs by a huge amount.

For my particular brand of magic, try putting this at the end of your .htaccess file:

AddType text/javascript .js

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>

<IfModule mod_headers.c>
    Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>

NOTE: if you use pingback or post by email, don’t put in that last 3 lines, as I do this to keep spammers from posting comments via pingback even when comments are off (!).

The above assumes your web host is running Apache, and not IIS, or nginx or other. If so, you might have to tweak those for your particular host. Apache is the most common, however.

Also: make backup, via FTP, or your hosting panel fileManager of your .htaccess file first; then if your site doesn’t load with the new elements, put back your original version.

Hope that helped.

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

OR: offer an enterprise theme outside of Themeforest/Envato … no restrictions.

simchris
tagDiv Member

Hi, Radu
no worries on name/company, etc.

I am pretty easy to find online. I added a note on my profile, that I’m not the tech support to call (I’m not the droid you’re looking for!) 🙂

Anything you can do for the resizing would be awesome.

The issue we have is essentially something like this:

1) we have mothership >>> pushes out news to our state/local site hubs
2) the local site pulls in both local versions, and national versions (news not from that state); so state news from the mothership goes into the main site content, featured on home page; national news is secondary, not featured
3) since the image for local news items are uploaded by FTP, not media manager, we use a theme running timthumb to auto generate the thumbs around site and featured homepage; for national news, timthumb grabs the national news item photos hosted on the mothership (external images) and builds the local thumbs for national category index and side of page (sidebar) stuff
4) so, when moving to something like newspaper, which needs a “featured image” – we can use Auto Post Thumbnail PRO to at least get the “first image in post” (whether from local FTP or external hosted mothership for national items) to the featured image spot/field.
5) so… now how do we get larger image for the featured categories and homepage when the root images are 500×375 and need minor increase? Normally timthumb — not possible with modern themes. Hence the issue. We’re not the only one with this kind of thing. And so my “will pay you big bucks” to solve for us, as we need to move to a modern theme away from Woo Canvas which replaced our old in-house theme. Canvas works, but has none of the micro-data, tricky stuff, modern menus, blah blah.

It seems we can solve the set first image in post with the commercial Auto Post Thumbnail Pro, but then the hangup is getting larger versions of those images for the featured boxes/layouts. We can’t start with GIANT images, for various reasons related to syndication, systems loading the images dynamically on their own sites, as well as images clients have, and/or “best fit” for layouts on news portals.

And we don’t want to do “width=100%” kinds of things, as we’d get tons of “you should be using actual size images…” warnings for pagespeed insights.

Anyway………. epic poem at an end.

Anything you can come up with will be most welcome. This is the last “need it!” issue which WP should have as option but they are opposed to for their own philosophical reasons and because the code is also used for wordpress.com (sigh).

Heck, if you solved it, you could probably offer a commercial plugin for it. Or offer an “Newspaper Enterprise” edition for $100 that included the feature. Those of us who need it, would pay, since we’re not part of the “free economy” whining about not getting 40 hours of free training with their $50 theme 😉

simchris
tagDiv Member

I reported this one; seems to only happen with the 980px responsive vs the 1170 responsive (at least for us). They should have fix with next update 🙂

simchris
tagDiv Member

HI, Marius
oddly, we’re seeing on both our sites that the date stamp time section font color does NOT change with panel settings, as so http://ga-ga.com/ ..

NOTE: that the date stamp top left remains white text and doesn’t change to #666666. Links change color as they are links, not static text, presumably.

I had used CSS to fix it previously, but just removed that so you could see it “as the issue I’m having.”

Running theme 3.6, and WP 3.8.1 (not yet 3.8.2); with tagdiv speed booster plugin 2.1 = on. No custom font plugins or custom social plugins. Not using JetPack, not using social counter.

Full responsive, 980px.

In theme panel:
HEADER > top menu (black) – no option here for colors/fonts.
CUSTOM TYPOGRAPHY > Top Menu Font > Text Color = #666666
THEME COLORS > Top Menu Color = #e5e5e5

Easy to fix with CSS, but in our two installs theme panel on 3.6 with WP 3.8.1 doesn’t change the color.

No funky plugins running, and we reverted to Yoast SEO 1.4.25 which doesn’t have the issues with breaking sitemaps, etc., that 1.5x does.

simchris
tagDiv Member

1) Select the author you want to use when creating post? You can select this in WP, as a built-in function at bottom of post screen from drop-down menu – not a theme function. (Both pages and posts!)
2) login to post as author account vs logging in as admin. Any posts you do when logged in as author are assigned to that author.
3) if using a syndication system, set posts to post “as author” not admin.

If you would like to change the author for more than one post then go to the edit posts in wordpress admin area; select the post and select bulk edit from drop down and change the author (the “user” level must be set at “author” not contributor for this to work).

You can also change the “display name” of the admin, by editing that user and putting in a name, then use drop down on author (“admin”) info page, to display that “name” in place of the word “admin.”

Aside: for security in WP, you should *always* delete the “admin” account after you create something else as the admin, with superuser privileges.

Hope that helped. Might not be specific to your issue, however.

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

aw shucks .. you’re most welcome. My way of “paying forward” all the help I’ve gotten in forums over the years 🙂

simchris
tagDiv Member

Hmmm. On my iPad the menu fits just fine (ga-ga.com test site, under construction). If you add too many elements (more than 7 or 8 menu items, it will break). I think somebody on here removed the search icon, and moved that to sidebar, which provided a bit more room.

Probably an option to have a slide out menu in place of the main menu as a toggle option for the breakpoint would be good.

I’m sure Marius will have a solution to change the breakpoint for the menu for your particular site.

I’m very happy the theme even has a “regular” menu bar for iPad portrait as just about everybody is going with “no menu” and the mobile drop or slide out.

  • This reply was modified 12 years by simchris.
Viewing 25 posts - 8,901 through 8,925 (of 9,335 total)