amandathewebdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Types Order] Different order after migrationHi again,
Nevermind, I found out that the culprit was WPEngine disabling order by random. Thanks anywho!
Forum: Fixing WordPress
In reply to: Orderby = rand not workingHi Mark, I didn’t see your answer before I replied, but thank you!
Forum: Fixing WordPress
In reply to: Orderby = rand not workingI found the answer! WPEngine automatically disables
'orderby' => 'rand'I don’t know why.I believe this is a different issue now. One my old site, the order is random every time you refresh. On my migrated site, it’s ordered oldest to newest. I found a function that is supposed to randomize the order. It works on one site and not the new one, WPEngine.
global $wp_query; $paged = $wp_query->query_vars['page'] ? $wp_query->query_vars['page'] : get_query_var('paged'); remove_all_filters('posts_orderby'); $search_array = array( 'post_type' => 'inventory', 'post_status' => isset($atts['post_status'])?$atts['post_status']:'publish', 'pagename' => '', 'name' => '', 'page_id' => '', 'p' => '', 'paged' => $paged, 'posts_per_page' => $_GET['posts_per_page'], 'orderby' => 'rand' );I’m going to start a new thread but I will update this one with whatever I find.
Forum: Plugins
In reply to: [Custom Post Type UI] Created CPT and not seeing it in adminI deleted the plugin, added it back, and added a new CPT with the name “portfolio” and that is showing up. My “work” is still not there though. *Shrugs* who knows how the internet really works?
Forum: Plugins
In reply to: [Custom Post Type UI] Created CPT and not seeing it in adminUnder Export Post Types it says: No post types registered yet.
I’ve never had this problem before – I’ve used the plugin on a few other sites and it’s worked great. This is the first time I’m using Bluehost. I have the following plugins, I don’t think any of them would be a conflict though: Askimet, iThemes Security. Any known issues with those?
Thanks
Forum: Themes and Templates
In reply to: Visual Composer Loading please wait… forever…Hi, I had the same issue. I reverted back to 4.4 using a backup I had made of my site the day before I updated to 4.5. Hopefully the plugin author will release an update soon, but in the mean time I can’t have a broken site.
Forum: Plugins
In reply to: [Merge + Minify + Refresh] Page speed went down, not upHi again,
I waited a few minutes, was that long enough? I saw some scripts had been run but I didn’t see a progress bar or any indication it was still running or had finished running, so I wasn’t sure and ran the tests.
Forum: Plugins
In reply to: Need help organizing my JavaScript into PHP for Woocommerce templateGreat, thanks for your help 🙂
Forum: Plugins
In reply to: Need help organizing my JavaScript into PHP for Woocommerce templateHi Joey,
I appreciate all the info! I do have a child theme set up however. Sorry for not being clear with my question, I realize now it was very general. What I mean to ask, more specifically:
- is it OK to have a
<script>tag in this file or should I create a function in functions.php for this? - Should I even be using JavaScript or should it be PHP?
- If it’s better to have this chunk of js somewhere else, what is the best way to include it in PHP without having to render the JavaScript within the HTML?
I hope that makes sense.
Forum: Themes and Templates
In reply to: [QuickStrap] Responsive Menu > Sub item is not showingHi again,
Are you referring to your sidebar or your top navigation? I don’t see any sub items in your top nav in the HTML so to me that indicates they aren’t set in your admin.
Forum: Plugins
In reply to: Need help organizing my JavaScript into PHP for Woocommerce templateHi Joey,
Thanks for the suggestion. You were right. I placed the code lower in the file and appended the checkboxes to my “check-boxes” div.
But is there a better way to do this? Is it OK that it’s all in one file?
Thanks so much for the info! You should make a blog post if you have a personal site, I bet people would find it really helpful.
Wow thank you for the awesome and detailed response. It’s clear you weighed a ton of pros and cons. I noticed that the products in your store are in an iframe. Does this effect your SEO/ranking at all?
Forum: Themes and Templates
In reply to: String of medium images no longer aligning neatlyThat’s good news! Glad you figured it out 🙂
- is it OK to have a