Customizing and coding changes:
This topic contains 2 replies, has 3 voices, and was last updated by Stiofan O’Connor 8 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Code snippets, multisite, sort by price, updates
-
AuthorPosts
-
September 4, 2016 at 8:52 pm #259838
Hey there, I have been asking quite a lot recently but there is so much awesome stuff to do^^
The following questions are mainly regarding coding and or compatibility issues:
I am running GD in a multisite under “mysite.com/guide”
1: You guys added the awesome GD booster and there is the option to activate GZIP Copression inserting a code snippet in .htaccess, so i just add it behing the current .htaccess code?
Considering I run a multisite on a sub directory base, it will compress the files in all WP? (would be awesome…).
1.1: Are you aware of any plugin incompatibilities with GZIP?2: Also You came up with a way to sort the listings by Price (https://wpgeodirectory.com/how-to-sort-listings-by-price/) where the code snippets have to be added/changed into the functions.php.
2.1: When Any Update is done, will this be affected/resetted? Still works with the new update 1.6.6?
2.2: How are listings sorted? First by Price, then subsequently by rating within price categories (Best to worst of premium, best to worst silver etc…)? (If not would it be possible?
2.3: Is there a way to set a color or overlay specifically for “Price category X”?3: The Twitter Feed snippet you guys show with the update release (https://wpgeodirectory.com/custom-field-improvements-in-new-v1-6-6/ ) would need to be added where?
4: Can all these snippets be added with the code-snippets plugin? or shall i just go the filezilla way…? I still assume that updates do not affect the code no?
5: Considering again that it is running on a sub directory of a multisite, will Cache plugins activated on the other directories affect GD (Should not because different entities no?just going safe here…). Also Plugins Like Yoast, Jetpack, you guys know the usual suspects from your known issues site… I have been reading for like hours through issues etc, but couldnt figure it out for my multisite setting
Yep Noob here…
Thanks a million, You guys are the best
September 4, 2016 at 11:32 pm #2598691. I don’t think so, because GD Booster should be activated on a per site basis, not for the network.
1.1 I’ll get the developers to look at that question for you.
2.1 Not if you added it to functions.php of your child theme. In case you need to update your child theme, make sure to merge the new and old functions.php files manually.
2.2. I think you still use the sorting options as per normal in your widgets or pages, depending what page you are talking about.
I don’t think that is affected by the coed, but let’s check with the others.2.3.Have a look at the code of the listings, you should find a class like “gd-post-pkg-4” that allows you to target per price package.
3. Functions.php of your child theme.
4. Yes, you can use the code sbippets plugin. See also 2.1.
5. https://wpgeodirectory.com/docs/faqs/how-do-i-use-gd-on-a-multisite-network/
For non-GD plugins I suggest you check with their developers what the best way is to implement them.September 5, 2016 at 11:51 am #260069Hi,
1. htaccess wil affect all sites but this should not be a problem.
1.1 NO, gzip should always always be enabled, the only problems i have see is if it is enabled at server level also you can get double compression which will show you weird white pages with random looking text.
2.2 if i remember correctly its price then a-z.
5. If activated only on that multiste then it should affect only that multisite.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket