g3legacy
Forum Replies Created
-
Forum: Hacks
In reply to: Where can I interact w/ the db using functions like wpdb?I expect you’d write it in as a plugin, in PHP, and I don’t know how you’d get info from Google Drive. Do they have an API, something like jSON..?
Yeah, that’s so old I’ve never seen that kind of loop. Here’s the correct loop code (just the start);
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
Take a read up on the loop, it’s a good page https://codex.www.ads-software.com/The_Loop
Forum: Fixing WordPress
In reply to: Custom Admin Menu Causing ErrorsGreat, that’s good news. It’s amazing how much **** a single quote or something can give you…
Forum: Fixing WordPress
In reply to: no theme displayWhat do you see when the site loads? Moving site “can” be fairly simple, it’s mostly about getting the URL right… Is your theme uploaded correctly..?
Forum: Fixing WordPress
In reply to: wordpress child pages don't show on hover for non membersYou can try it without the fallback function and see what you get:
<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary' ) ); ?>
Forum: Fixing WordPress
In reply to: Thumbnails not showing on new themes after updateHow old was the previous WP installation? Perhaps it’s to do with the changing of function names or something.
Forum: Fixing WordPress
In reply to: Didn't take backup and updated WordPressIf you know what version you were running, why don’t you try getting hold on an older copy and using it again? Just back up your theme folder, uploads, plugins and maybe your wp-config.php file. When the older core files are running again I don’t see why you can’t get everything up and running as before.
Also, updating WP shouldn’t delete any plugins, the folder is separate – not sure what’s going on there.
Forum: Fixing WordPress
In reply to: How to delete users with no posts?Well, give it a shot, but make sure you have a backup.
Forum: Fixing WordPress
In reply to: Genesis Responsive Slider is itty bittyWell, this is the CSS that’s making the slider area so small:
#header .widget-area { width: 30.555555555%; }
You could try overwriting that and see if it helps.
Forum: Fixing WordPress
In reply to: Image rotation issues and incorrect mobile browser displayHi, can’t make out your issue just yet – what’s going on? Sounds like you’ve rotated an image in the admin section and you’re not seeing the changes…?
Forum: Fixing WordPress
In reply to: Genesis Responsive Slider is itty bittyLooks like the theme uses flexSlider…
What’s the issue with it? It seems your slides are showing small for some reason – do you know what changes you’ve made to it recently?
Forum: Fixing WordPress
In reply to: Category archive season?Well, you create categories as a way to “group” posts. Each match could be a post, and then you assign this to a category (a season in your case). You should then be able to put your categories in your menu on the appearance -> menu page in the admin area. I suggest you read up a little on posts and categories (maybe “tags” also), as they are fundamental parts of WP.
Forum: Fixing WordPress
In reply to: wordpress child pages don't show on hover for non members<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>
This looks very normal to me, but I don’t know what the fallback function is doing. This is usually wp_list_pages() I believe, so your theme must be running some other code. Have you tried removing that, or modifying it? Is the menu definitely set up correctly in the appearance -> menu section?
Forum: Fixing WordPress
In reply to: How to delete users with no posts?I expect you could do with with a MySQL script which queries the database and deletes users with a 0 post count. I don’t “know” the code for this but it should be quite do-able. I’d certainly test it first incase you make any mistakes..!
Forum: Fixing WordPress
In reply to: Category archive season?You should be able to make use categories, with each seasons being a category. It depends how many you’ll end up with really, but given the examples you posted I think categories should do the trick.