deflime
Forum Replies Created
-
This is happening on my Siteground sites as well.
Relevant settings page
/wp-admin/admin.php?page=sgo_environment
Speed Optimizer – Environment > WordPress Heartbeat Optimization
WordPress Admin Pages: Disabled
Posts and Pages: DisabledFrom my testing and code review, it seems that any time the config is asked to disable heartbeat,
public function maybe_disable(), it does so, but then other scripts that call heartbeat, can’t find it.I tried playing with the priorities in
public function add_heartbeat_control_hooks(), didn’t help.I can resolve the issue by simply not disabling heartbeat and defining a timer in the above settings, ie, 120s.
- This reply was modified 3 months, 2 weeks ago by deflime.
Forum: Plugins
In reply to: [EthPress - Web3 Login] data such as name and email addressYou’re looking for the wp_update_user() function.
Create a form after the sign in with Ethpress to add these fields to their profile.
- This reply was modified 3 years, 11 months ago by deflime.
Forum: Plugins
In reply to: [EthPress - Web3 Login] NFT IdentificationYou can do this with Tatum’s free api.
Forum: Plugins
In reply to: [EthPress - Web3 Login] restrict access based on tokens ownedYou can do this with Tatum’s free api.
Forum: Plugins
In reply to: [EthPress - Web3 Login] Login with openSea nftYou can do this with Tatum’s free api.
That works! Thank you so much Maybellyne.
- This reply was modified 4 years, 6 months ago by deflime.
Forum: Plugins
In reply to: [WP Recipe Maker] Saving Fractions Stopped WorkingSorry, too many devs. I’ll leave you to chat with JS.
But to quickly answer your question:
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ‘utf8_unicode_ci’);However, in the database, wp_posts/wp_postmeta is latin1_swedish_ci.
Forum: Plugins
In reply to: [WP Recipe Maker] Custom UnitsYeah we’re really trying to leverage the best practices as much as possible, especially moving forward with our content team. Just finishing up my manual import script of a few hundred recipes and just lining things up. Thanks.
Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this page.^ Bingo, that did it for me too.
I was using a random character generator for the prefix which was including capital letters, no more of that in the future 🙂
I did a search and there were others that were still trying to use the capital letters other than
user_rolesso keep that in mind.Thanks!!
I can’t help with your issue specifically, but is there a particular reason you need those files backed up?
The database and the wp-content folder are the most important and really all you need to restore the site if anything goes wrong.
Forum: Plugins
In reply to: [Reed Write] [Plugin: Reed Write] Feature RequestsHere’s how far I got.
Looks like I didn’t need to go so far, http://codex.ww.wp.xz.cn/images/1/18/Template_Hierarchy.png
However the above graphic doesn’t seem to include a custom index page for the new custom type so the following serves some purpose.
flush_rewrite_rules(); // Line 391, your last piece of code before.. add_action("template_redirect", '_rw_template_redirect'); } function _rw_template_redirect() { global $wp; // list custom types in an array, this could be better, of course $rw_custom_types = array('custom-type-1-slug', 'custom-type-2-slug'); if (in_array($wp->query_vars["post_type"], $rw_custom_types)) { if ( is_robots() ) : do_action('do_robots'); return; elseif ( is_feed() ) : do_feed(); return; elseif ( is_trackback() ) : include( ABSPATH . 'wp-trackback.php' ); return; elseif($wp->query_vars["name"]): include(TEMPLATEPATH . "/single-".$wp->query_vars["post_type"].".php"); die(); else: include(TEMPLATEPATH . "/".$wp->query_vars["post_type"].".php"); die(); endif; }You may just need to implemented a bit of the above and simply include a link to the that WP Codex graphic to aid in ppl using their own templates.
Forum: Plugins
In reply to: [Reed Write] [Plugin: Reed Write] Feature RequestsWhat about having a custom template for that specific Content Type?
Trying to use multiple posting areas but I am looking to have a different template for two of them.
Forum: Plugins
In reply to: [WP Page Widget] Upgraded and now not working*deleted*