WorkspacePros
Forum Replies Created
-
Forum: Plugins
In reply to: [ShareThis Follow Buttons] Plugin Breaks WordPress Dashboard@sharethis thanks for the quick fix. I updated to 1.3.2 and it appears to be solved!
Forum: Plugins
In reply to: [Contact Form 7 Zoom Webinar Registration] API IssuesCF7 Update came through today and fixed the issue. No thanks to anyone here…..
Forum: Developing with WordPress
In reply to: Reusable Block in single.phpNo problem. It’s nice to help someone else on here for a change!
MB
Forum: Developing with WordPress
In reply to: Reusable Block in single.phpNot necessarily.
You can call the actual block by it’s post id without the need for an additional page.
To get the post id for a reusable block, edit any post (or create a new post) and click the add block button (+). Navigate to reusable blocks and in that menu there is a link to “Manage All Reusable Blocks”. Or you can go directly to the reusable block listing at site.com/wp-admin/edit.php?post_type=wp_block
In the listing of reusable blocks, you can hover over edit for any block and you can see the post ID in the link address in your status bar. Then you can call the block only without a new page using the code we detailed earlier.
Forum: Developing with WordPress
In reply to: Reusable Block in single.phpAh thanks for pointing that out. The reusable block already exists and is used by my client on various pages as a call to action. I don’t need nor want plugins to add to it. The client updates it approx monthly. We decided we wanted to put the same block at the halfway point of each article to drive more conversions. So I would go with “creative solution” as opposed to strange. I made the following correction. Does that ease your concerns?
corrected:
$reuse_block_content = apply_filters( 'the_content', $reuse_block->post_content);
Forum: Developing with WordPress
In reply to: Reusable Block in single.phpThanks for the lead, Joy.
I solved this with the following php:
$reuse_block = get_post( 123 );
$reuse_block_content = $reuse_block->post_content;
echo $reuse_block_content;I obtained the post id (‘123’) for the reusable block from the “Manage All Reusable Blocks” screen.
will do. thanks!
no sweat. I figured it was because it was closed. I thought it might help to repost.
Thanks for looking in to this.
This is not resolved. Wordfence continues to report https://patft.uspto.gov as spam in my scans. Has it slipped back into the database or was this subdomain never cleared?
Thanks
MichaelForum: Themes and Templates
In reply to: Highlight TopMenu Nav when submenu page active – Nova ThemeAny help would be appreciated.
Forum: Themes and Templates
In reply to: Highlight TopMenu Nav when submenu page active – Nova ThemeElegant Themes, I believe. This site was “built” by another guy and I took over when my customer was having problem due to his lack of ability to customize the page. I’ve made several customizations (e.g. button colors, alignment, etc) but I was hoping someone had the knowledge of this theme to speed the process along. I’m at my wits end.
Forum: Fixing WordPress
In reply to: Login redirects back to loginI followed it exactly and exported the database multiple times. As of today, I no longer have access to that server, it has been shut down. So I can’t export it again. Even if I did it wouldn’t make a difference because I have multiple exports and they are all identical. There are no references to wp_usermeta in my the SQL of my database export either so that is weird. It’s possible the original site was on an older version of WordPress. I will post the answer if I figure it out.
Forum: Fixing WordPress
In reply to: Login redirects back to loginTara,
Thanks for the quick response.
I disabled the themes and plugins. Then attempted login to recreate the error. These are the 4 errors that I received in the log file (see below). After looking in my database, there is no wp_usermeta table in the database. Is this my problem, if so, how do I correct it?
[11-Aug-2015 20:39:00 UTC] WordPress database error Table ‘i1697728_wp1.wp_usermeta’ doesn’t exist for query SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (1) ORDER BY umeta_id ASC made by get_user_by, WP_User->init, WP_User->for_blog, WP_User->_init_caps, get_user_meta, get_metadata, update_meta_cache
[11-Aug-2015 20:39:00 UTC] WordPress database error Table ‘i1697728_wp1.wp_usermeta’ doesn’t exist for query SELECT umeta_id FROM wp_usermeta WHERE meta_key = ‘session_tokens’ AND user_id = 1 made by wp_signon, wp_set_auth_cookie, WP_Session_Tokens->create, WP_Session_Tokens->update, WP_User_Meta_Session_Tokens->update_session, WP_User_Meta_Session_Tokens->update_sessions, update_user_meta, update_metadata
[11-Aug-2015 20:39:00 UTC] WordPress database error Table ‘i1697728_wp1.wp_usermeta’ doesn’t exist for query SHOW FULL COLUMNS FROM
wp_usermeta
made by wp_signon, wp_set_auth_cookie, WP_Session_Tokens->create, WP_Session_Tokens->update, WP_User_Meta_Session_Tokens->update_session, WP_User_Meta_Session_Tokens->update_sessions, update_user_meta, update_metadata, add_metadata[11-Aug-2015 20:39:00 UTC] WordPress database error Table ‘i1697728_wp1.wp_usermeta’ doesn’t exist for query SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (1) ORDER BY umeta_id ASC made by require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), WP->init, wp_get_current_user, get_currentuserinfo, apply_filters(‘determine_current_user’), call_user_func_array, wp_validate_auth_cookie, get_user_by, WP_User->init, WP_User->for_blog, WP_User->_init_caps, get_user_meta, get_metadata, update_meta_cache