megseoh
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] If I Network Deactivate will I lose all settings?I ended up network deactivating & did not lose any data. It remained activated on the sites where it was in use – best possible outcome!
Forum: Plugins
In reply to: [Contact Form 7] If I Network Deactivate will I lose all settings?Yes, this is what I am asking. Someone must know whether or not the database content is deleted when the plugin is deactivated. If it will delete them & I’ll have to restore from backup I’d rather leave it network activated.
Forum: Plugins
In reply to: [Custom Post Type Widgets] Display Monthly Archives 404 ErrorI found the answer here https://wordpress.stackexchange.com/questions/136059/wordpress-monthly-archive-links-result-in-404 by adding the add_rewrite_rule code mentioned in the question to my functions.php.
Forum: Reviews
In reply to: [Remove Query Strings From Static Resources] Cool but not optimalI added the code mentioned above to my functions.php but when I run it through https://tools.pingdom.com/ & https://gtmetrix.com they both give me a failing grade on “remove query strings on static resources”.
I’ve also seen this code posted in a few places:
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 );
When I use it my errors on the page speed testing sites remain. What’s the difference between the two? And any idea why neither are working?
Forum: Plugins
In reply to: [Network Latest Posts] Network Latest Posts Displaying Incorrect Image SizeI figured it out. I had to edit my code in page-home.php where I was pulling in the posts:
<div class="row" style="margin-top:20px;"> <div class="col-md-12"> <div id="news-carousel" class="carousel slide"> <?php echo do_shortcode('[nlposts blog_id="17,18" number_posts="9" display_type="block" sort_by_date=true thumbnail=true thumbnail_wh="325x220" use_pub_date=true full_meta=true]'); ?> </div> </div> </div>
Forum: Networking WordPress
In reply to: Can I create custom thumbnails for only one of my sitesI realized we are using a custom theme for our news site so it was easy to modify functions.php for that one site & then regenerate the thumbnails. Now I just need to figure out how to pull in those thumbnails instead of the full sized images.
Thanks for your reply.
Forum: Networking WordPress
In reply to: Can I create custom thumbnails for only one of my sitesCan I add a line in functions.php beneath what I just posted that says something like:
if ($blog_id == 8) { add_image_size('bones-thumb-705', 705, 175, true); }
?
Forum: Hacks
In reply to: Reverse Order of Custom Post Type EventsYes, that was exactly the problem. The months are displaying in ascending order now. Thanks for your help!
Forum: Hacks
In reply to: Reverse Order of Custom Post Type EventsThanks for the suggestions. Unfortunately deactivating the plugins didn’t work &
pre_get_posts
doesn’t exist in functions.php or elsewhere.You don’t think it’s displaying in the wrong order due to the code I’d posted above?
Forum: Plugins
In reply to: [Network Latest Posts] Notice: Undefined variable: display formatting errorsHey Jose,
You were bang on – in the older version the ‘case “block”:’ had been entirely commented out & replaced by custom code. I’m very close to formatting it as it was before thanks to your help. Now that I know where the problem is I can easily paste it into newer versions.
One weird thing that has happened is it now says ‘network-latest-posts’ up in the top left corner under the <body> tag. Do you know where that would be coming from? https://grab.by/I9MU
Thanks again!
Forum: Plugins
In reply to: [Network Latest Posts] Notice: Undefined variable: display formatting errorsHey Jose,
The link that you checked is our live site which hasn’t been updated yet. I update WordPress & all plugins first on a development site to ensure that everything still works before updating on the live site. & the development site is in Maintenance Mode & is unfortunately not viewable by anyone who’s not logged in. That’s why I posted the screenshots instead of just links.
Any ideas what the problem might be?
Thanks ??
Forum: Plugins
In reply to: [Network Latest Posts] Notice: Undefined variable: display formatting errorsHi Jose,
Thanks for the quick reply. The update got rid of the error message but the layout is still broken – do you have any idea why this might have happened?
It used to look like this: https://grab.by/I8Ni
But now it looks like this: https://grab.by/I8NsThe bootstrap classes & other formatting are no longer being applied.
Thanks again ??