khanselman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: pre_get_posts only works when logged inWow.. Keesiemeijer, Thank you! For some reason I was under the impression that the lower the number the more importance was given to that action. I changed it to 100 and it worked perfectly. Thank you!
Forum: Fixing WordPress
In reply to: pre_get_posts only works when logged inNo plugin for membership. That’s why I am so confused. Unless the custom taxonomy is only available to admin, I can’t figure out why it’s not filtering the results. It makes no sense.
Forum: Fixing WordPress
In reply to: pre_get_posts only works when logged inI did a print_r on $query when logged in and logged out, and $query is identical and is putting the correct issue in the tax_query term. I’m not seeing anything that would result in it only working when logged in.
Forum: Fixing WordPress
In reply to: pre_get_posts only works when logged inFrom the plugins’ functions:
function get_active_issuem_issue() { if ( !empty( $_COOKIE['issuem_issue'] ) ) return $_COOKIE['issuem_issue']; else if ( !empty( $_GET['issue'] ) ) return $_GET['issue']; else return get_issuem_issue_slug(); } function get_issuem_issue_slug( $id = false ) { if ( !$id ) { $issue = get_term_by( 'id', get_newest_issuem_issue_id(), 'issuem_issue' ); } else { $issue = get_term_by( 'id', $id, 'issuem_issue' ); } return ( ( is_object( $issue ) && !empty( $issue->slug ) ) ? $issue->slug : '' ); }Forum: Networking WordPress
In reply to: Multisite subfolder admin urls incorrectWell.. it looks like it is an issue with my host, not wordpress or any plugins. I’m using a Managed WordPress setup with GoDaddy and I just found out via their online chat that GoDaddy blacklists network/mulitsite setup on their managed systems (as well as some plugins). They offer it on their cPanel hosting, but not on the managed hosting ($30/yr difference in price). They also won’t support the multisite if you set it up on their cpanel hosting.
Forum: Networking WordPress
In reply to: Multisite subfolder admin urls incorrectYes, all plugins are off. I’ve also tried clearing my cookies/cache. Tried adding a new site, deleting sites, and all secondary sites admin links in admin bar, left menu, and through the admin area point to domain.com/wp-admin/ instead of the secondary site’s wp-admin.