Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Magistar
tagDiv Member

Whoops you are right the plugin can be installed and activated. Now the shortcode is gone. I’m sorry it looks like I was panacking a bit due to the injected articles. Thanks for the quick replies.

Magistar
tagDiv Member

Ah ok thanks for the tip. I was lucky to have an old backup from june 2022 so I deleted all files and then restored that backup. But I will keep the other method in mind!

Magistar
tagDiv Member

Hi thanks for your swift reply.

What’s the reason for the downgrade? Is the purpose to overwrite wordpress core files?

Magistar
tagDiv Member

Whoops I did a new search and found a fix:

https://forum.tagdiv.com/topic/wp_booster-error-45/

I had to install and activate something called standard pack. Thanks @anamaria.

Magistar
tagDiv Member

Unable to edit:
I noticed that the header check went from reporting 17 queries in 0,082 to 17 queries in 0,285 sec. So before most of the theme is loaded, 200ms is lost.

Magistar
tagDiv Member

Update: traced the issue in source :

.td-search-background {
background-image: url('http://192.168.0.208/wp_011_test_demos/wp-content/uploads/2017/05/1.jpg');
}

.white-popup-block:before {
background-image: url('http://192.168.0.208/wp_011_test_demos/wp-content/uploads/2017/05/p2.jpg');
}

Not sure what correct url would have to be at this point.

Magistar
tagDiv Member

Hi Bogdan,

I completely forget about this post. Looks like the update script button was removed somewhere between feb and today.

Is it possible for you to send me an older version of the theme (such as 7.x) where the update button is still present?

If not: Are there some MySQL tables I need to drop to remove legacy settings so I can do a clean start? (Maybe this is best option regardless)

Magistar
tagDiv Member

Edit: I restored a backup to get a screenshot of the original layout:

View post on imgur.com

View post on imgur.com

So basically buttons that broke were the icon based home button and menu and the main page setup that shows a leaderboard and 4 subcategories which have a color coding.

Homepage should be doable. Menu buttons: no clue!

  • This reply was modified 8 years by Magistar.
Magistar
tagDiv Member

I have the exact same issue. Just updated from 7.4 to 7.8.1 and unfortunately this did not resolve the issue. The thumbs on the video’s are loaded from http://img.youtube instead of https://img.youtube thereby breaking my SSL security.

http://img.youtube.com/vi/pmPoaM8PqxU/default.jpg’. This content should also be served over HTTPS.

How did you guys resolve this?

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

This fix also helped me, thanks!

Magistar
tagDiv Member

I was in the process of writing the email and then for the final part I wanted to figure out which block contained the data and then I noticed it went from 0 to 1416 likes. So for some reason it seems to be working now!

Magistar
tagDiv Member

I have send you the email. Thanks in advance.

Magistar
tagDiv Member

Hello Bogdan,

I prefer to stay on the 6.x branch for now. I made changes to the theme that will testing and probably programming (Which I am not so good at to be honest). As long as I can stay within 6.x I can simply do a file by file comparison and see the lines that were changed surrounding my changes. For a brand new branch this will be hard and time consuming.

I will move to 7.x, but only when I have time (e.g. a few spare days) and when it has matured (e.g. a few months to get the bugs out of the new features that were added). So I really need the latest 6.x.

If you cannot find, or are not willing to find, the 5 zip’s requested could you you please send me the full install of the final 6.x version (probably 6.7.2?

Thanks! Sebastiaan.

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

Ok so I have identified the issue by checking out those files and actually reading the error instead of panicking.

/*remove visual composer
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}

/*remove Visual Composer CSS from “post” pages
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
/*change post order
add_action('wp_head', 'custom_change_posts_order');
function custom_change_posts_order() {
global $query_string;
if (is_category(array(10,11,12,13,14,15,34,35,36))) {
$posts = query_posts( $query_string . '&orderby=date&order=asc' );
}
}
*/

It was the optimization from Chris. If you read this Chris, I guess it would be wise to add an ” if function exists” to that code :P.

Crisis averted.

Magistar
tagDiv Member

Pagespeedscore is only 68 right now. Have to start somewhere right :P.

Oh and which smushing plugin do you prefer? I dislike wp smush (it?) plugin because it pollutes your database to keep track of which images it has smushed.

Magistar
tagDiv Member

Nice :).

If you are using Elegant Theme’s something seems to always break on every major WordPress update :P.

Anyway I just noticed the following code:

<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--><style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important}</style><!--[if lte IE 9]><link
rel="stylesheet" type="text/css" href="http://www.x.info/nl/wp-content/plugins/js_composer/assets/css/vc_lte_ie9.min.css?152966" media="screen"><![endif]--><!--[if IE 8]><link
rel="stylesheet" type="text/css" href="http://www.x.info/nl/wp-content/plugins/js_composer/assets/css/vc-ie8.min.css?152966" media="screen"><![endif]-->

Did someone find a fix for that one? I am already using Chris’s example:

/*remove visual composer*/
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
/*remove Visual Composer CSS from “post” pages */
function dequeue_visual_composer_css() {
if (is_single()) {
wp_dequeue_style('js_composer_front');
}
}
add_action('wp_enqueue_scripts', 'dequeue_visual_composer_css', 1003);
/*clean head */
remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
/*remove 4.2 emoji*/
remove_action( ‘wp_head’, ‘print_emoji_detection_script’, 7 );
remove_action( ‘wp_print_styles’, ‘print_emoji_styles’ );

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

Always interesting to see that other people have different views :).

I basically used the same logic to go in a completely different direction. On my older Joomla and WordPress based websites I didn’t know how to create overrides and such. The more websites I got (currently about 8 now) and the more time passed (oldest is 2008), the harder it was to remember what I did and why.

So I started to create these detailed log files to deal with that. Of course after a year I always had to search for those files because I forgot where I left those logs :P. The most annoying stuff I did was editing the style.css directly. That meant that every time I wanted to update I had to do a code comparison between files that were by definition not similar!

In the end I got fed up with “wasting” my time and invested time and effort to learn how to create overrides and unload functions for both Joomla and WordPress. Now I am glad I did because it is saving me so much time. All minor updates are now handled automatically by the server. Major versions I have to manually “order” so I can check if nothing went wrong. This is basically a 95% reduction of time I spend on maintenance.

Of course there are some downsides. It takes more effort to implement and you have the @css import, which is not SEO optimal. And yes at some point you will need to re-apply your changes on the latest files. Child themes do not make you immune to change.

Don’t forget about the importance of updating though. Last year there were some serious security exploits in a lot of themes. Years ago a leak in the Joomla upload function once resulted in a php script being uploaded that was used to send emails. Not fun :(.

Magistar
tagDiv Member

Thanks for your suggestion.

Unfortunately that code is not “smart” enough since it does not account for images that have proper 16:9 layouts. I am sort of in a transitional phase here and with 110 posts it will take a while to have a decent featured image for everything. Especially now that I found out I cannot use rectangular images :(.

Example issue new code: http://i.imgur.com/k0a42fm.png

Any other thoughts?

Magistar
tagDiv Member

For this theme I have tried it.But I am currently at 7 modifications. Every time there is a theme update I regret it. You always have to re-apply custom changes and keep a very detailed list of how and why to do it. With a child-theme you can just save a copy of the modified php file and feel free to update the theme at any time. So I actually hate not working with Child themes.

Magistar
tagDiv Member

Most important thing is to stop serving live pages and start serving static html pages. You can do this with W3totalcaching, just make sure page caching is enabled. Also it will NOT cache for logged-in users. So test in another browser…

If you have a regular hosting plan a non-cached php page will load in something like 900ms. On a slow host you can even see 2000+ ms. If you use a good host (pm me if you are looking for a fast one) you can get this down to about 300ms. When you switch to html pages you can go as low as 30ms.

CDN is only useful for international websites. I use it on one of my websites because it allows visitors from the US and Asia to load my page faster (hosted in The Netherlands).

Magistar
tagDiv Member

Ok so let’s ignore all that and start again.

I (now) have the latest WordPress version 4.4.1 and the latest theme version 6.6.3.

Still there is no load more button, and the random filter shows a second page (pagination) with the “missing” article: http://goo.gl/1iH8uX

Thoughts?

Magistar
tagDiv Member

Update 2:
I have narrowed my issue down to the theme I just uploaded because it only happens with that theme… I have uploaded a fresh copy of Newspaper 6.x and now the error 500 seems to be gone. I must have made a mistake in a function added to functions.php.

So as long as 6.5.1>6.6.3 can be accomplished by a complete re-upload then I am good (please confirm :P).

Magistar
tagDiv Member

Update:

I did a quick test renaming the current newspaper directory to newspaper5 and then uploading the latest version as newspaper. All looked well until I disabled the WPBakery Visual Composer plugin. Then the website showed error 500.

I was able to get the website back by renaming the original newspaper5 back to newspaper.

But I guess I am kind of stuck on 6.5.1 now!

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

I am actually using WordPress 4.3.1 with theme version 6.5.1.

Reason I kept with 6.5 was this line:
“[ Version 6.6.1 ]
– new social counter version. Facebook requiers now an API key, read more here: https://forum.tagdiv.com/tagdiv-social-counter-tutorial/&#8221;

I have had some really bad experiences with joomla+facebook api which had a requirement of self signed certificates.

Anyway Tutorial looks decent thought so I guess I will try it. But I am wondering about how to update from 6.x though.

The Envato website only has the latest archive which only contains incremental patch_6.6.2_6.6.3. Do I need to do full delete and re-upload of the theme?

Magistar
tagDiv Member

Almost forgot about this! Thanks for the quick fix :).

Viewing 25 posts - 1 through 25 (of 56 total)