Forum Replies Created
-
AuthorPosts
-
electricbrick
Participant+1 to the database upgrade solution.
If you use Travis Smith's Genesis Sandbox Featured Content widget plugin, you'll need to "hide" or move that plugin first.
electricbrick
Participant@Bojo — you need to update your WP Core to v4.4.1 for use with Genesis 2.2.6. This was the source of my issue. Due to being on WP Engine, they have a unique update policy with WP Core and I wasn't aware that my production site wasn't current.
electricbrick
ParticipantI can confirm that reverting Genesis back to 2.2.3 got my site working on WPEngine.
Here's a copy of the server's errors for Genesis 2.2.6:
[Fri Jan 29 17:18:56.784639 2016] [:error] [pid 27082] [client 204.154.81.224:48310] PHP Fatal error: Call to undefined function get_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/admin/term-meta.php on line 253
[Fri Jan 29 17:19:37.947526 2016] [:error] [pid 24725] [client 204.154.81.224:48415] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150, referer: http://ssmtva.wpengine.com/wp-login.php?wpe-login=ssmtva
[Fri Jan 29 17:19:42.060802 2016] [:error] [pid 24789] [client 204.154.81.224:42058] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150
[Fri Jan 29 17:22:44.934237 2016] [:error] [pid 24724] [client 204.154.81.224:42526] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150
[Fri Jan 29 17:28:42.351816 2016] [:error] [pid 29063] [client 204.154.81.224:43782] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150
[Fri Jan 29 17:28:45.691535 2016] [:error] [pid 29065] [client 204.154.81.224:43787] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150
[Fri Jan 29 17:28:50.919339 2016] [:error] [pid 29066] [client 204.154.81.224:43797] PHP Fatal error: Call to undefined function get_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/admin/term-meta.php on line 253
[Fri Jan 29 17:28:57.413964 2016] [:error] [pid 29063] [client 204.154.81.224:43813] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150
[Fri Jan 29 17:29:00.896162 2016] [:error] [pid 29061] [client 204.154.81.224:43821] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150
[Fri Jan 29 17:29:22.434476 2016] [:error] [pid 29066] [client 204.154.81.224:43865] PHP Fatal error: Call to undefined function add_term_meta() in /nas/content/live/ssmtva/wp-content/themes/genesis/lib/functions/upgrade.php on line 150electricbrick
Participant+1 — I'm getting the same error with one of my sites. My local dev environment is fine, but the production environment won't render the front-end of any Genesis child theme. WP admin rendering/access is fine.
electricbrick
ParticipantI wouldn't quite say it's resolved as I've heard nothing back from Travis for a while and the issue is unaddressed. For the purposes of this forum, though, I'll go ahead and do it.
electricbrick
ParticipantSo, I've been able to get my faculty bio info to show up in archives using your code, Carrie. Still can't figure out how to get it to not put faculty posts under the parent terms, or how to use the code to autodetect the slugs and only show department-related terms when in a specific department.
http://su2.edu.70-32-99-102.electricbrick.co/blog/faculty/
http://su2.edu.70-32-99-102.electricbrick.co/blog/department/biology/
electricbrick
ParticipantThanks, Carrie. This is a LOT closer, plus very simple and elegant. With this new code, the output is showing faculty under the parent terms and the child terms at the same time, however.
As far as the columns, I suppose I can use CSS, but for some reason I had it in my head that I was going to implement a grid loop in order to get each row to return cleanly and not have to rely on floats.
Again, thanks a million!
electricbrick
ParticipantHere's sample code for a filter you can add to functions.php to alter the widget as well.
listing-city-state-zip is what you likely want to change. Unfortunately, I can't delve much more into that as I am at work.
add_filter( 'agentpress_featured_listings_widget_loop', 'agentpress_featured_listings_widget_loop_filter' ); /** * Filter the loop output of the AgentPress Featured Listings Widget. * */ function agentpress_featured_listings_widget_loop_filter( $loop ) { $loop = ''; /** initialze the $loop variable */ $loop .= sprintf( '<a href="%s">%s</a>', get_permalink(), genesis_get_image( array( 'size' => 'properties' ) ) ); $loop .= sprintf( '<span class="listing-price">%s</span>', genesis_get_custom_field('_listing_price') ); $custom_text = genesis_get_custom_field( '_listing_text' ); if( strlen( $custom_text ) ) $loop .= sprintf( '<span class="listing-text">%s</span>', esc_html( $custom_text ) ); $loop .= sprintf( '<span class="listing-address">%s</span>', apply_filters( 'genesis_post_title_text', get_the_title() ) ); $loop .= sprintf( '<span class="listing-city-state-zip">%s %s, %s</span>', genesis_get_custom_field('_listing_city'), genesis_get_custom_field('_listing_state'), genesis_get_custom_field('_listing_zip') ); $loop .= sprintf( '<a href="%s" class="more-link">%s</a>', get_permalink(), __( 'View Listing', 'apl' ) ); return $loop; }
electricbrick
ParticipantRay, have you tried all the steps that NBMEDIC went through?
electricbrick
Participant@Mealtog: If you're looking at how to best manage, maintain, and back up various WP installs with the least amount of effort, go with ManageWP. Changed my old agency's whole world.
electricbrick
ParticipantAndrea, is there any chance I could get a peek at that plugin?
electricbrick
ParticipantOk, if you're remotely comfortable modifying code, I just added an icon pretty quickly by duplicating the fields in simple-social-icons.php, changing the name to a new network (in my case, Untappd), and adding another fontello font to the /fonts/ directory. Just bear in mind that when you update the plugin it will erase all your modifications.
electricbrick
ParticipantYou'll have to modify the plugin PHP, but SSI uses a custom Fontello icon web font, so you'll probably have to re-roll the font as well.
electricbrick
ParticipantThanks, but that didn't work. I think that the upgrade path has a unique key contained in the URI that is required, and it gets automatically generated when a request is made to update, in order to prevent people from being able to directly download Genesis without paying for it.
electricbrick
ParticipantWP 3.6 Updates appear, as do plugin updates (though some are sporadically showing up depending on the WP version now, especially Genesis-based plugins).
I tweeted a link to this thread on Friday, haven't heard anything.
EDIT: My MediaTemple-hosted sites show the update notification.
electricbrick
ParticipantYes, "automatic updates" is enabled on 20+ Rackspace-hosted sites, and no Genesis updates available on a single site.
It would be nice to have a way to force Genesis updates like WordPress core re-installs can be forced. I'm really not looking forward to updating all these sites manually.
electricbrick
ParticipantBrad, you may want to note in your post that the block of code I contributed doesn't contain Brian's content box styling.
electricbrick
ParticipantHoly smokes, Stewart & Brad -- you guys really came through. Thanks a ton!
I took it a little further and amended the code to work in the header widget area and output the WordPress date:
add_action( 'genesis_header_right', 'week_day_widgets' ); function week_day_widgets() { if ( is_home || is_single() || is_page || is_archive ) if ( date ( 'w' ) == 1 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'mondays-widget' ); echo '</div><!-- end .mondays-widget -->'; } else if( date ( 'w' ) == 2 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'tuesdays-widget' ); echo '</div><!-- end .tuesdays-widget -->'; } else if( date ( 'w' ) == 3 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'wednesdays-widget' ); echo '</div><!-- end .wednesdays-widget -->'; } else if( date ( 'w' ) == 4 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'thursdays-widget' ); echo '</div><!-- end .thursdays-widget -->'; } else if( date ( 'w' ) == 5 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'fridays-widget' ); echo '</div><!-- end .fridays-widget -->'; } else if( date ( 'w' ) == 6 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'saturdays-widget' ); echo '</div><!-- end .saturdays-widget -->'; } else if( date ( 'w' ) == 0 ) { echo '<div class="today"><p>Today is ' . date(get_option('date_format')) . '</p>'; dynamic_sidebar( 'sundays-widget' ); echo '</div><!-- end .sundays-widget -->'; } }
electricbrick
Participant@anitac -- sorry I couldn't, need to keep this site private for the time being (thus making seeking help extra difficult). However...
@Doak -- that worked perfectly!
-
AuthorPosts