tomhung
Forum Replies Created
-
Forum: Plugins
In reply to: [Admin and Site Enhancements (ASE)] a select all button would be handy+1 for this feature
Forum: Plugins
In reply to: [Admin and Site Enhancements (ASE)] [Feature Request] export settings+1 I would like to use this on TONS of my sites. They all have similar ASE settings. Export/Import would help me migrate to this. Also a WP cli for the export import. It would be good to import from json local file or url. This way I could migrate all without thousands of clicks.
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] 5.9.1Once I turned off Basic Auth and removed the settings, and now it runs.
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] 5.9.1Do not work with version the WordPress : 5.9.2
No files
No Activity Log
Generate just spins and goes gray.- This reply was modified 2 years, 8 months ago by tomhung.
Forum: Plugins
In reply to: [Custom Content Shortcode] [switch] with pass {FIELD} or [get] not in docsI needed to use the [-if] syntax for the inner IF statements
[loop type=product] [if category=books] The book [field title-link] is [-if field=status value=in-stock] in stock. [-else] not available. [/-if] [else] [field title-link] is not a book. [/if] [/loop]
- This reply was modified 4 years ago by tomhung.
Forum: Plugins
In reply to: [Custom Content Shortcode] [if pass] not workingMy issue is the docs are wrong. https://gravistech.tinytake.com/media/ea2216
Did you get this solved? I have the same issue.
https://new-caes.gravisdev.com/ at the bottom.Forum: Plugins
In reply to: [WP Admin Cache] Extending WP Admin CacheIn the index.php file there is a getPageHooks function. At the end they array_pop($a, ‘widget.php’); to add widget.php to the pre-fetch.
I added another array_pop($a, ‘post.php’); to pre-fetch while on page/post edit. This worked for me. It adds it to the options and I can select it. It would be nice to have it in the interface but hacking their code works.
function getPageHooks() { global $admin_page_hooks; $a = array(); foreach ($admin_page_hooks as $key => $value) { if (strpos($key, '.php') !== false && strpos($key, '/') === false) array_push($a, $key); } $args = array('show_in_menu' => true); foreach (get_post_types($args) as $type) { if ($type != 'attachment') { $url = 'edit.php?post_type=' . $type; if (!in_array($url, $a)) array_push($a, $url); } } array_push($a, 'widgets.php'); array_push($a, 'post.php'); sort($a); return $a; }
Can I test for the role and set $_SESSION[‘nfw_goodguy’] = 1 in my fucntions.php file? Will respect that if I set it?