Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Well, 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.

    Thread Starter swisst

    (@swisst)

    Thanks, finally I decided to place the files outside of the web – i.e. the files have no URL but are accessible for PHP script.

    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

    kcwebguy: 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?

    Thread Starter swisst

    (@swisst)

    Probably 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);
    Thread Starter swisst

    (@swisst)

    That seems good. Thank you!

    Thread Starter swisst

    (@swisst)

    My 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);
    }
    Thread Starter swisst

    (@swisst)

    barnez: changing existing links would harm my Google position.
    And solution by means of mod_rewrite I see too cumbersome.

    Thread Starter swisst

    (@swisst)

    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.

    swisst

    (@swisst)

    My 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.

    Thread Starter swisst

    (@swisst)

    Thanks for your reply and description of possibilities!
    I’ll check both
    Petr

Viewing 11 replies - 1 through 11 (of 11 total)