jmbimagery
Forum Replies Created
-
I got the ‘white screen of death’ (i.e., the Plugins section of the Dashboard was blank) while updating the Gallery plugin on one WP site. On another WP site I manage, I tried updating a different plugin and also got the ‘white screen of death’ – so, it wasn’t the Gallery plugin, per se, that caused the problem.
While researching the problem, I found this article:
http://www.webhostinghero.com/manually-disable-wordpress-plugins/I went into the MySQL database to clear up the _options table.
I have not updated a plugin on any of my sites since then, so I don’t know if I’ll get the ‘white screen of death’ again.
According to Bluehost, the best procedure is to deactivate all plugins before updating a plugin. After the update, activate those you need for your site.
Never mind – the culprit was a corrupt entry in the wp_options table in the MySQL database.
Forum: Fixing WordPress
In reply to: Migrating a WP site to another existing WP siteI did not realize that running the script (step 10) would re-save the Permalinks. If it actually did that, then why was I getting the 404 errors? The hosting service (HostGator) provided possible solutions for the 404 errors including updating the .htaccess file and resetting/saving the Permalinks. Noticing that the live site did not have the .htaccess file, I decided to give the Permalinks reset/saving a go. That eliminated the 404 errors and created the .htaccess file, and I can navigate throughout the site.
I’m not the most WP-savvy type of guy to understand thoroughly what the script does/did, but following HostGator’s advice and manually re-saving the Permalinks got the live site functioning properly…
Forum: Fixing WordPress
In reply to: Migrating a WP site to another existing WP siteThe migration was successful, but had to do some extra steps to make the site work.
In step 8 if the test and live database table prefixes are different (as was in my case), the wp-config file had to be updated on the live site to reflect the new prefix.
Had to run search/replace script (step 10) before logging into the live site to do step 9. After the migration the test site’s user name and password became the live site’s Admin user. Have to add the original admin user back into the live site.
Also immediately after the migration, the home page displayed properly, but the other links, when selected, produced a 404 error. The .htaccess file was not present in the live site’s root directory after the migration. Solution: The test site had Permalinks set to post name. On the live site, had to reset Permalinks to Default, saved it and then set it back to post name and saved it again. As a result of resetting the Permalinks settings, the .htaccess file was created, which eliminated the 404 errors.
Thanks, Jan, for the recommendation.
Let’s hope a fix comes to make the widget compatible with WP 3.6.1
Forum: Fixing WordPress
In reply to: Events Calendar Date and Time DisplayYou should go to the Events Manager plugin site (http://wp-events-plugin.com/) and go to Support -> Community Forums. You probably need a wordpress.org account to submit your questions about the date and hours.
Forum: Fixing WordPress
In reply to: Migrating a WP site to another existing WP siteThanks for the response – I’ll follow your recommendation later this week (we need a few more tweaks before we go live).
In your step 9 – I will assume you mean go to the Administration > Settings > General panel and change/save the WP and site addresses…
Are you ready for this?
It works!!
I’m using your latest version and local host, which means I couldn’t send you a link. Didn’t occur to me to include post_type with tax and term – and I saw how one can combine several parameters in a shortcode. I didn’t go far enough in troubleshooting…
Thanks for not giving up on me.
Here are the shortcodes that work (I’ve gone back using my original posttypes.php file):
[ic_add_posts] – shows only the regular/default post I have (good)
[ic_add_posts post_type=’events’] – this shows all events I entered, nothing else (good)
[ic_add_posts post_type=’lodging’] – this is the other taxonomy and the shortcode displays all of the lodging entries as well (good)This does not work:
[ic_add_posts tax=’event-type’ term=’Chamber’] – I used ‘chamber’, and nothing happened.What happens in this instance is that the home page only displays the content of the page, nothing else. It’s as if as though no shortcode was entered/updated on the page.
So, the post_type parameter works, but not tax/term.
Well, it’s really not working – what I meant to say was that my original calls to register_post_type and register_taxonomy calls were working like I wanted. I didn’t mean to imply putting this: [ic_add_posts tax=’event-type’ term=’chamber’] on my front page was working…
Also, I have a several more taxonomies defined as well, I just want to use the event-type taxonomy.
After reading the Function Reference page, I put the following the following in my posttypes.php file:
$labels = array( 'name' => 'Event types', 'singular_name' => 'Event type', 'menu_name' => 'Event type', 'all_items' => 'All event types', 'parent_item' => '', 'parent_item_colon' => '', 'new_item_name' => 'New event type', 'add_new_item' => 'Add event type', 'edit_item' => 'Edit event type', 'update_item' => 'Update event type', 'separate_items_with_commas' => 'Separate event types with commas', 'search_items' => 'Search event type', 'add_or_remove_items' => 'Add or remove event type', 'choose_from_most_used' => 'Choose from the most used event types', ); $rewrite = array( 'slug' => 'event-type', 'with_front' => true, 'hierarchical' => true, ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'query_var' => 'event-type', 'rewrite' => $rewrite, ); register_taxonomy( 'event-type', 'events', $args );Note: in the second argument I put in ‘events’ vice ‘post’ since the former was used to register the custom post type.
I’m still not getting the CPT on the front page. Is the value for term parameter in your shortcode case sensitive?
Thanks, Eric, for the response.
Before I give your recommendation a shot, a few more things.
In your opening paragraph, you wrote “…so in your register_taxonomy block, the slug is event-type, but when you” – you didn’t finish your thought. Hope I’m not missing something significant.
Just to let you know, the code I pasted works – I populated the taxonomy with entries and everything displays the way I want it.
What do the show_admin_column, show_in_nav_menus and show_tagcloud variables do? Since they’re set to true, their descriptive names may indicate functionality that I do not need and/or conflict with what I want to do.
Also, the slug and query_var have event-type but in register_taxonomy you have ‘event type’, should it be event-type as well?
Thanks again.
Forum: Themes and Templates
In reply to: [Twenty Eleven] Need sidebar on post, but not on custom postsWatching lynda.com’s Building Child Themes clued me in on a possible solution. Moved sidebar.php into the child theme folder and tested for the post type of ‘post’ above the <div> statement.
Probably a kluge fix, but my blog, custom posts and pages are displaying like I want them.
I should thank me for figuring this out 🙂
Forum: Themes and Templates
In reply to: [Twenty Eleven] "Lightbox" Effect For Twenty Eleven?Even though it hasn’t been updated for a while, NextGen still works in Twenty Eleven with WP 3.5.1.
http://wordpress.org/extend/plugins/wordpress-nextgen-galleryview/
Forum: Themes and Templates
In reply to: [Twenty Eleven] Need sidebar on post, but not on custom postsFollow up question regarding my first post:
The child theme folder already has single.php, was wondering if that file should be modified and/or do I place Twenty Eleven’s sidebar-page.php and/or sidebar.php into the child theme folder and make mods to those files to allow the sidebar display only for blog pages?
Just don’t know what variables/functions to add, modify, etc.
Forum: Themes and Templates
In reply to: Same theme, different widgets on wordpress.com and localhostalchymyth,
So you’re saying I have to go into the WP.org Plugin directory and search for the widgets/functionality that I used for the Twenty Ten theme on WP.com and download the appropriate items, right?
Thanks for your response.