├── ACF ├── add-options-page.php ├── blocks.php ├── format-date.php ├── gallery.php └── post_object.php ├── AJAX ├── functions.php └── weather.js ├── Assets ├── register-image-sizes.php ├── register-script.php ├── register-style-in-plugin.php └── register-style.php ├── Blocks ├── display_reusable_block_in_theme.php └── wrap_core_blocks_in_div.php ├── Cron ├── add_custom_schedulling.php ├── add_simple_cron_job.php └── unschedule_cron_job.php ├── Custom Post Types ├── custom-post-type.php └── custom-taxonomy.php ├── Files ├── allow-doc-upload.php └── allow-svg-upload.php ├── HTACCESS ├── XMLrpc.txt ├── disable-directory-listing.txt └── full-path-disclosure.txt ├── Hooks └── add_and_call_custom_action.php ├── Images ├── enable-post-thumbnails.php └── thumbnail-outside-of-loop.php ├── JS └── recaptcha-dark-mode.js ├── Navigation ├── add-element-in-nav-item.php └── display-child-pages.php ├── Options Pages └── add-options-page.php ├── Permalinks └── change_permalinks_base.php ├── Plugins ├── check-if-wp-installed.php └── check-on-activation.php ├── Posts ├── change-excerpt-length.php ├── change-excerpt-more.php ├── excerpt-length-by-post-type.php ├── exclude-category-from-archive.php └── remove-category-from-old-posts.php ├── README.md ├── RSS ├── custom-rss-footer.php ├── delay-posts.php ├── exclude-categories.php └── featured-images-in-rss.php ├── SQL └── truncate-comments.sql ├── Security ├── change-login-errors.php ├── create-backdoor.php ├── disable-comments.php ├── disable-dashboard-access.php ├── disable-login-by-email.php ├── disable-rss.php ├── disable-wp-rest-api.php └── remove-version-number.php ├── Setup ├── multiple-nav-menus.php ├── nav-menus.php ├── post-thumbnails.php └── widgets.php ├── Shortcodes ├── basic-shortcode.php ├── shortcode-with-atts.php └── shortcode-with-content.php ├── Social └── sharing-button.php ├── Templates └── check-if-template.php ├── Terms └── insert-term.php ├── Tweaks ├── change-text.php ├── custom-admin-footer.php ├── custom-dashboard-logo.php ├── disable-prefetching.php ├── remove-admin-bar.php ├── remove-archive-types-from-title.php ├── remove-editor-from-templates.php ├── remove-welcome-panel.php └── track-post-view-count.php ├── Users ├── add-user-role.php ├── disable-dashboard-access.php ├── log-out-link.php ├── logout-redirect.php └── restrict-access-to-post-type.php ├── WP Query ├── loop-through-taxonomies.php ├── meta-query.php └── order-by-meta-value.php ├── WPDB ├── create-custom-tables.php └── post-meta-query.php └── Woocommerce ├── add-custom-ordering.php ├── add-product-tabs.php ├── add_product_taxonomy.php ├── catalog-mode-with-prices.php ├── change-number-of-products-per-row.php ├── change-related-product-count.php ├── enable-lightbox.php ├── gdpr_checkout.php ├── get-category-image.php ├── get-prices.php ├── get-product-cats.php ├── get-product-featured-image.php ├── related-products-count.php ├── remove-first-and-last-class.php ├── remove-product-tabs.php ├── remove-related-products.php ├── search-only-products.php ├── set-default-ordering.php └── unset-ordering-types.php /ACF/add-options-page.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/ACF/add-options-page.php -------------------------------------------------------------------------------- /ACF/blocks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/ACF/blocks.php -------------------------------------------------------------------------------- /ACF/format-date.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/ACF/format-date.php -------------------------------------------------------------------------------- /ACF/gallery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/ACF/gallery.php -------------------------------------------------------------------------------- /ACF/post_object.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/ACF/post_object.php -------------------------------------------------------------------------------- /AJAX/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/AJAX/functions.php -------------------------------------------------------------------------------- /AJAX/weather.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bojanfriscic/wordpress-snippets/HEAD/AJAX/weather.js -------------------------------------------------------------------------------- /Assets/register-image-sizes.php: -------------------------------------------------------------------------------- 1 |