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

You can use Google ads in the sidebars; just don’t use in the “smart sticky sidebar”.

simchris
tagDiv Member

Probably good idea to contact the people who make the plugin ?

simchris
tagDiv Member

sorry …
thought you were referring to the slug/url
http://www.morenews.pk/tag/special-reports/

If it were me, I’d just change it in the template file “tag.php”

<span><?php echo __td('Tag');?>: <?php echo $current_tag_name ?></span>

simchris
tagDiv Member

You can change it from the WordPress settings to something else like /topics/ — but not managed by the theme in any way.

You will want to do Google search for a function to add to your functions file to remove the tag ‘slug’ from tags.

ref
http://stackoverflow.com/questions/17798815/remove-category-tag-base-from-wordpress-url-without-a-plugin

I have not yet tested this:

// remove tag base
add_filter('tag_rewrite_rules', 'no_tag_base_rewrite_rules');
function no_tag_base_rewrite_rules($tag_rewrite) {
$tag_rewrite=array();
$tags=get_tags(array('hide_empty'=>false));
foreach($tags as $tag) {
$tag_nicename = $tag->slug;
if ( $tag->parent == $tag->tag_ID )
$tag->parent = 0;
elseif ($tag->parent != 0 )
$tag_nicename = get_tag_parents( $tag->parent, false, '/', true ) . $tag_nicename;
$tag_rewrite['('.$tag_nicename.')/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?tag=$matches[1]&feed=$matches[2]';
$tag_rewrite['('.$tag_nicename.')/page/?([0-9]{1,})/?$'] = 'index.php?tag=$matches[1]&paged=$matches[2]';
$tag_rewrite['('.$tag_nicename.')/?$'] = 'index.php?tag=$matches[1]';
}
global $wp_rewrite;
$old_base = $wp_rewrite->get_tag_permastruct();
$old_base = str_replace( '%tag%', '(.+)', $old_base );
$old_base = trim($old_base, '/');
$tag_rewrite[$old_base.'$'] = 'index.php?tag_redirect=$matches[1]';
return $tag_rewrite;
}

simchris
tagDiv Member

I think the patch updater does just that 😉

simchris
tagDiv Member

You don’t need to ‘activate’ Visual Composer, as that only applies to the paid license version, not the free bundled version; meaning you can’t activate the paid support from WPBakery since you didn’t buy it alone. So, you have to ignore the ‘nag screen’ — it still works perfectly, as it only needs to be ‘turned on’ from the actual WP plugins page.

If you use ‘cracked’ software you can get malware, hacks, and banned forever by your hosting provider(s).

Nobody here will help you if you use cr8ked warez.

simchris
tagDiv Member
simchris
tagDiv Member

We are running Newsmag 3.1 and WP 4.7 on multiple sites with zero issues.

simchris
tagDiv Member

Looks like one of your plugins might be loading jquery twice .. no reason for two different versions to be called for the theme. Try disabling some plugins. Looks like some kind of caching is adding query strings to the different versions perhaps cookies, logins, or ajax stuff.

Might try simple option
a) resave permalinks
b) clear transients with wp-optimize

simchris
tagDiv Member

I think the old trick to that is either
a) hook in function to allow all HTML in the author meta for functions file; or
b) ooooold trick use &nbsp;  before a double line break to force blank line.

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

Only issue you might run into is if your website gets really big (e.g, dbase larger than 100MB) you might need larger hosting plan.

simchris
tagDiv Member

Try using the ASCII HTML code entity for apostrophe ?

simchris
tagDiv Member

a) make sure you have featured image set for each post
b) make sure image sizes used for home page blocks are active in theme panel
c) make sure images can be loaded from Jetpack, which is notoriously buggy on many sites (meaning, if images work without jetpack, then there you go … !)

Just suggestions.

simchris
tagDiv Member

Also consider disabling things like XMLRPC and password reset which hackers can slam all day long and eat through your bandwidth.

simchris
tagDiv Member
simchris
tagDiv Member

Don’t keep pressing the F5 key ?

Install caching so that only the cached copy is reloaded?

(sorry, that was a little flippant; but no idea …)

simchris
tagDiv Member

You are correct, the github page does appear to be down/gone.

I posted a query in the plugin support forum. Bizarro.

Maybe they are changing it with the impending theme updates for December coming “real soon now.” 🙂

simchris
tagDiv Member

We switched to the TagDiv BETA Page Builder … simpler to use, and less resource heavy and (in my opinion), more reliable! Using it on 10 websites right now 🙂

simchris
tagDiv Member

Also:
I find that

a) resaving permalinks
b) clearing transients with wp-optimize

both do wonders after any major theme and plugin updates.
Clears old “internal cached elements” to let new stuff breathe.

simchris
tagDiv Member

You may need to clear/refresh cloudflare or any CDN after major update to WordPress such as this latest version. Otherwise you may be loading a mix of old stuff and new stuff which won’t ever work right.

simchris
tagDiv Member

Note if you used a lot of shortcodes in former theme, those don’t get carried over.

You might need to copy the shortcode CSS from old theme and append to bottom of new theme CSS.

We run into this with client projects quite a bit over here 🙂

simchris
tagDiv Member

Are all those images loading off wp.com using jetpack, Photon, or something?

Probably good to figure out what is loading that stuff and where.

In our case we have dedicated server where we can control all this stuff vs having it load off of multiple other people’s websites, where you are limited by their control.

The theme is not causing your images to load on wp.com for example, so you need to figure out what is doing that then adjust settings for same.

simchris
tagDiv Member

Yes; this is actually correct. This is why you see some big publishers with blatant sticky ads. Those generally get served through the Doubleclick (DFP) engine.

Although, to be fair, on couple of our sites we were doing that for a loooooong time with normal AdSense ads, just not making the ad the sticky focus; meaning at the bottom of the sticky bar, not the top, so that “focus” would be on the “related content” and then when you got to bottom the ad would be at bottom, just like it would have been anyway.

But it’s best to err on side of paranoia. Keeping in mind the actual revenue these days from AdSense is about 20 times less than it was due to ad blocking.

Consider using local hosted graphics for locally sold ad campaigns, and loaded from a normal folder not one called “ads” as possible revenue replacement strategy.

Food for thought … I’m not going to be around here in 2017 but just putting in my two cents while I still am. Happy holidays!

simchris
tagDiv Member

If you have trouble navigating in the theme docs here on the forum to the tutorials, here is link to my thread on optimization which can help you with some cool things for the functions.php file, such as removing query strings, emojis, etc. — easier to start on last couple of pages, frankly, than oldest pages — unless you want to

https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/

as one example
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 won’t help probably with anything loaded off your CDN if they insert versioning for “cache busting” … where versioning is intentional to force re-cache when changed.

So, you need to figure out settings for your cdn/caching setup, as well as something like the above for WordPress generated elements.

Again – neither is theme related, but hopefully this will help in some way.

simchris
tagDiv Member

There are plugins out there which offer ways to do that.
Might have to search the WordPress plugin repo or wait for somebody who has done it to help.

Not built into the theme, obviously. 🙂

(I dont’ work here)

Viewing 25 posts - 2,901 through 2,925 (of 9,335 total)