Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter teachmeter

    (@teachmeter)

    I had all the pages cached. When the option is selected the header robots=noindex is added in the headers.

    When i changed that option i did not purge all as i thought that should happen automatically. The thing that confused me is that I did not purge all of them but the front page was cleared from cache and no other. So either none of the pages should be refreshed or all of them should be when a setting that concerns every page is changed.

    What are your thoughts?

    teachmeter

    (@teachmeter)

    Hi Ed,
    For example if you want to move the tickets form out of the single post view it would be nice to do it properly by running the necessary action.

    Additionally this is the hook description in source code

    setting this filter allows developers to override the general setting in particular cases.

    WordPress: 4.9.4
    Advanced Custom Fields PRO: 5.6.9
    Błąd: Uncaught Error: No select2/compat/dropdownCss

    Jeżeli mamy stronę zbudowaną na ACF i znajduje się tam select ala dropdown cały js umiera.
    Pomaga zakomentowanie w plugins/sierotki/vendor/iworks/options/options.php

    array(
    	'handle' => 'select2',
    	'file' => 'select2.min.css',
    	'version' => '4.0.3',
    ),
    array(
    	'handle' => 'select2',
    	'file' => 'select2.min.js',
    	'version' => '4.0.3',
    	'deps' => array( 'jquery' ),
    ),

    PS.
    Polecałbym też dodać coś takiego żeby zwiększyć funkcjonalność wtyczki:

    function addOrphanSupport($value, $post_id, $field) {
        if (class_exists('iworks_orphan')) {
            $orphan = new iworks_orphan();
            $value = $orphan->replace($value);
        }
        return $value;
    }
    add_filter('acf/load_value', 'addOrphanSupport', 10, 3);
Viewing 3 replies - 1 through 3 (of 3 total)