stnick
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Moving from windows to linux – changing the database tablesThank you. As I described earlier, my windows computer is case insensitive, so it used capitals within the database. However, the website needs to go to a linux server which is case sensitive
Forum: Fixing WordPress
In reply to: Moving from windows to linux – changing the database tablesBut would there be a way to change the tables without using an additional plugin? I’d like to change them within WAMP before I’m exporting them.
Forum: Hacks
In reply to: Menu, show top level item with first level child but enable hover for 2nd levelI see, could you point me to a good one?
Forum: Fixing WordPress
In reply to: Remove single category from blog (special)from: https://codex.www.ads-software.com/Plugin_API/Action_Reference/pre_get_posts
Exclude categories on your main page
This is how you can exclude categories of posts from displaying in your blog. For example, if you have 2 categories of posts (uncategorized ‘1’ and another ‘1347’) that you don’t want to display on your ‘home’ blog page, you can use the following in your plugin or theme to omit these categories:function exclude_category( $query ) { if ( $query->is_home() && $query->is_main_query() ) { $query->set( 'cat', '-1,-1347' ); } } add_action( 'pre_get_posts', 'exclude_category' );
Forum: Hacks
In reply to: Menu, show top level item with first level child but enable hover for 2nd levelnobody?
Forum: Hacks
In reply to: Use pre_get_posts or wp_queryOkay, I believe I found the answer here, a confirmation would still be appreciated:
https://beebell.co.uk/wordpress-queries-when-to-use-wp_query-get_posts-query_posts-pre_get_posts/Also, it would be really helpful if someone could explain whether there is a huge performance difference between the two? Should I worry about this kind of thing when making websites that will most likely not exceed 500 posts in the next 3 years?
Forum: Plugins
In reply to: [The Events Calendar] Css broken on first loadOkay, I found the problem. It was in the page transition script. I apologize for my previous remarks. My client was getting mad and I was losing it myself too…
Forum: Plugins
In reply to: [The Events Calendar] Css broken on first loadAlso, I tried deactivating all plugins, flushing permalinks, using a different theme. No luck though.
Forum: Plugins
In reply to: [The Events Calendar] Css broken on first loadI’m sure it has to do something with how The Events Calendar is handling the linking of URL’s. Everytime if you refresh it works. But if you click on a link it just breaks. Bugs like this are completely unacceptable.
Forum: Plugins
In reply to: [The Events Calendar] Css broken on first loadWow, and Google Maps also doesn’t load on the first link. Seriously, what is this?
Forum: Plugins
In reply to: [The Events Calendar] Css broken on first loadOk, I found out it has to do something with the menu link.
If you go directly to https://energy4business.nl/evenementen/ there is no problem.However, if you’ll go from home->Evenementen, you will see the css problem. Does anyone else had this experience?
Forum: Plugins
In reply to: [The Events Calendar] The events calendar broken on first loadNever mind,
it seems that there are javascripts conflicting.
I turned it off now.Forum: Networking WordPress
In reply to: Prevent users from jumping from one subsite to the otherWow, answers from the half-elf! ;D
Thank you so much for the plugins, I will dig into themForum: Plugins
In reply to: [Genesis Sandbox Featured Content Widget] Compatibility with ACF?Hello?
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Another viewport meta problemHi Peter,
I got my hands on an iPad now and it seems to work perfectly. I’m not sure what’s going on but I guess it has something to do with the client’s iPad.This topic may be closed, thank you for the support!