swisst
Forum Replies Created
-
Forum: Plugins
In reply to: [Flamingo] Where does Flamingo store the data inputWell, the bad thing is, that if you delete the incoming mail via wp-admin dashboard, the wp_posts and wp_meta are not deleted, only marked as deleted. So the data remains in the table “for ever” (unless you delete it manually via MySQL).
It would be really nice, if this plugin can really delete the posts after some given expiration time (see GDPR problem in Europe). Using separate table for incoming posts would be nice too. But deleting the posts is really big problem.
P.S. I have seen some other plugin called “Favorite Inazo’s flamingo automatically delete old messages”, but I would prefere to have just one plugin doing the thing.
Forum: Fixing WordPress
In reply to: Download for registered users onlyThanks, finally I decided to place the files outside of the web – i.e. the files have no URL but are accessible for PHP script.
Forum: Plugins
In reply to: [W3 Total Cache] When logged in, not caching…I’m not experienced, but I have noticed checkbox in Page Cache menu
“Don’t cache pages for logged in users
Unauthenticated users may view a cached version of the last authenticated user’s view of a given page. Disabling this option is not recommended.“By default it is checked. But I dont know what negative impacts can be
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Displaying Video Based on Resultskcwebguy: You say that Wp-Pro-Quiz has that capability?
I would like to modify results page based on achieved score. Example: if the results is over 50% the final results page will display “smile” image (otherwise sad ?? image is shown)
Can somebody give me a hint how to do it? Are there some “results” variables?
Forum: Fixing WordPress
In reply to: How to add number to permalinkProbably I’ve got it!
This part of code in functions.php adds post_ID to the slug of post:
function news_wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent, $original_slug ) { if ($post_type=='post') $slug = sprintf('%s-%u', $slug, $post_ID); return $slug; } add_filter('wp_unique_post_slug', 'news_wp_unique_post_slug', 10,6);
Forum: Plugins
In reply to: [ALO EasyMail Newsletter] Deleted user remains in the subscribers listThat seems good. Thank you!
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Cycling all images and galleries in postMy workaround: set all three options mentioned above, and filter the content:
add_filter( 'the_content' , 'single_lightbox', 2000 ); function single_lightbox( $content ) { return preg_replace ('/data-rel="lightbox\[([A-Za-z\-\d]*?)\]"/is', 'data-rel="lightbox[1]"', $content); }
Forum: Fixing WordPress
In reply to: How to change default slug?barnez: changing existing links would harm my Google position.
And solution by means of mod_rewrite I see too cumbersome.Forum: Fixing WordPress
In reply to: How to change default slug?Unfortunately I cannot use permalink in suggested form (/%postname%/%post_id%/), because my web is already running and changing permalink settings would cause broken links.
My permalinks are set to %postname% so the best way for me is to change the slugs for new posts only.
Actually I need arbitrary unique number in my slug (its because of Google News resource requirements). ID is only one option.
I guess, there is some function generating slug when new post is created ant the only thing I need is to modify this function to add ID (or another unique number) to the generated slug.
Forum: Fixing WordPress
In reply to: Social SEO for FacebookMy experience with Facebook object debugger is:
– Do not rely on statement “value can be inferred from other tags“. Its better to add “og:” tag
– Image (and other informations probably too) are often cashed (somewhere) and it’s not easy to change it. I try “Fetch new scrape information” often several times.
– Sometimes images are cached and really unchangeable. In this situation it’s good to change image name and “og:” tag as well. Usually this helps.Thanks for your reply and description of possibilities!
I’ll check both
Petr