gioliciouswp
Forum Replies Created
-
Forum: Plugins
In reply to: How to get the sidebar width size?i mean the current theme’s sidebar width
Forum: Plugins
In reply to: [Plugin: WP Super Cache] not updating cache when adding blogroll linksi read https://codex.www.ads-software.com/Plugin_API/Action_Reference and there are Blogroll Actions like:
add_link Runs when a new blogroll link is first added to the database. Action function arguments: link ID. delete_link Runs when a blogroll link is deleted. Action function arguments: link ID. edit_link Runs when a blogroll link is edited. Action function arguments: link ID.
can you add those to wp-super-cache?
i checked wp-cache-phase2.php which contains this function:
`if(function_exists(‘add_action’) && ( !defined( ‘WPLOCKDOWN’ ) || ( defined( ‘WPLOCKDOWN’ ) && constant( ‘WPLOCKDOWN’ ) == ‘0’ ) ) ) {
// Post ID is received
add_action(‘publish_post’, ‘wp_cache_post_edit’, 0);
add_action(‘edit_post’, ‘wp_cache_post_change’, 0); // leaving a comment called edit_post
add_action(‘delete_post’, ‘wp_cache_post_edit’, 0);
add_action(‘publish_phone’, ‘wp_cache_post_edit’, 0);
// Coment ID is received
add_action(‘trackback_post’, ‘wp_cache_get_postid_from_comment’, 99);
add_action(‘pingback_post’, ‘wp_cache_get_postid_from_comment’, 99);
add_action(‘comment_post’, ‘wp_cache_get_postid_from_comment’, 99);
add_action(‘edit_comment’, ‘wp_cache_get_postid_from_comment’, 99);
add_action(‘wp_set_comment_status’, ‘wp_cache_get_postid_from_comment’, 99);
// No post_id is available
add_action(‘delete_comment’, ‘wp_cache_no_postid’, 99);
add_action(‘switch_theme’, ‘wp_cache_no_postid’, 99);
add_action(‘edit_user_profile_update’, ‘wp_cache_no_postid’, 99);add_action(‘wp_cache_gc’,’wp_cache_gc_cron’);
do_cacheaction( ‘add_cacheaction’ );
}`i hope you can add ADD, EDIT or DELETE hook to this function. just need to show the link on the homepage without clearing the whole cache.
Forum: Plugins
In reply to: [Plugin: WP Super Cache]The plugin make new cache page all the timei had the same problem with my other sites. Have you tried re-installing the plugin?
Forum: Plugins
In reply to: [Plugin: WP Super Cache] BUG – single quote character in URL..i found a solution. What I did is to just filter that character from WordPress itself.
for those having the same problem, here’s what you need to do:
edit the file formatting.php under wp-includes folder.
find the function sanitize_title_with_dashes and add this line:
$title = str_replace(‘’’, ”, $title);after this line:
$title = str_replace(‘%’, ”, $title);Forum: Plugins
In reply to: [Plugin: WP Super Cache] ‘NOT FOUND’ page being cachedlooks like a problem with using a single WP for multiple blogs. it works fine with the ‘mother blog’ but not with the rest.. well its not designed for this anyway.
Forum: Installing WordPress
In reply to: Novice – What is my database connection?sample:
/** The name of the database for WordPress */ define('DB_NAME', 'sampledb'); /** MySQL database username */ define('DB_USER', 'john'); /** MySQL database password */ define('DB_PASSWORD', '55s6seessd33'); /** MySQL hostname */ define('DB_HOST', 'localhost');
Forum: Installing WordPress
In reply to: Novice – What is my database connection?you have to create a database first from your Web Hosting provider then fill this up from your wp-config.php:
/** The name of the database for WordPress */ define('DB_NAME', 'databasename'); /** MySQL database username */ define('DB_USER', 'user'); /** MySQL database password */ define('DB_PASSWORD', 'password'); /** MySQL hostname */ define('DB_HOST', 'localhost');
Forum: Installing WordPress
In reply to: changing the wp-config.php filewell, you can always use the default prefix which is wp_ or you can use your domain name like podsolutions_
Forum: Fixing WordPress
In reply to: [Plugin: WP Super Cache] How to turn off ‘Garbage Collection’?so it cannot be disabled at all? what’s the normal time interval that ‘GC’ fires up?
i actually have over 100 blogs with just a single WP files like WordPress MU or WP Hive. i activated the wp-super-cache plugin from just 1 blog and it actually works from all of them. so that means i dont have to activate the plugin from each blog. That’s why i just need all the cached files to stay longer. not that high traffic blogs.
Forum: Installing WordPress
In reply to: Cannot login after upgradei had the same problem too.
1. what i did is just backup my database through phpmyadmin. i just excluded wp-options and wp-users.
2. reinstall wordpress
3. restore database.
of course you also have to reinstall plugins and settings.