laowang1
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: when before_delete_post hook, get_permalink failedI need permalink to get local cached static file path to delete them.
I found a way to fix that, just disable TRASH, add below line to wp-config.php
define(‘EMPTY_TRASH_DAYS’,0);Forum: Developing with WordPress
In reply to: when before_delete_post hook, get_permalink failedHow can I get correct permalink url in before_delete_post hook?
I have same issue. ver 4.5.3
- This reply was modified 6 years, 6 months ago by laowang1.
Forum: Plugins
In reply to: [Multisite Post Reader] how to hidden empty siteset showall=no, but still able to see the draft post
Forum: Plugins
In reply to: [Multisite Post Reader] how to hidden empty sitethanks rhellewell.
for examle:
I put the code in the Page Editor:some content [mpr_display]
I want ‘some content’ to appear above the post list , but it is displayed under the post list
Forum: Plugins
In reply to: [Multisite Post Reader] how to hidden empty sitethanks.
Another suggestion:
Currently, the post list is always at the top of the post content, Hope to be able to keep the post list at its original position in the post content.Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP on Archive Pages not doing?same issue,
on Archive Pages , plus /amp/ get 404 error
plus ?amp ,just redirect to original urlForum: Plugins
In reply to: [WPF-jqGrid] can't delete selected rowI find more details:
PRIMARY KEY (orderNo
)
orderNo
varchar(30) NOT NULL,If the orderNo with value AU650338851SE, It will can’t been delete.
If the orderNo with value 650338851 , IT will can been delete.Forum: Plugins
In reply to: [Memcached Object Cache] Memcached with Unix socketI add line in wp-config.php
$memcached_servers = array(
‘default’ => array(
‘unix:/xxxx/xxx/memcached.socket’
)
);then get error log:
“NOTICE: PHP message: PHP Warning: MemcachePool::add(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /wp-content/object-cache.php on line 121”Forum: Plugins
In reply to: [Memcached Object Cache] Memcached with Unix socketI would also like to know.
remove the fold : /memcached
just copy object-cache.php to the fold /wp-content/Forum: Plugins
In reply to: [Custom Contact Forms] How can export "Saved Form Submissions" data?Sorry, I found it, in the bottom of Genneal setting.
I sure there is not any redirect.
Thanks, But I check netsite.com with seoconsultants.com/tools/check-server-headers-tool/ , There is no any redirect.