Remove category and tag base from WordPress URLs without a plugin?

If you want to remove /category/ from the url, follow these two steps: Go to Settings >> Permalinks and select Custom and enter: /%category%/%postname%/ Next set your Category Base to . Save it and you’ll see your URL changed to this format: http://yourblog.com/quotes/ (Source: http://premium.wpmudev.org/blog/daily-tip-quick-trick-to-remove-category-from-wordpress-url/)

WordPress Docker won’t increase upload limit

it worked for me as follows: i created uploads.ini alongside of docker-compose.yml with following lines. this is exactly how it stated in fist post. file_uploads = On memory_limit = 500M upload_max_filesize = 500M post_max_size = 500M max_execution_time = 600 after this i added volumes: – ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini to my .yml file as it states in first … Read more

Refused to display….. frame-ancestors https://www.facebook.com

There are two things required to avoid this message: Ensure you have the correct Facebook page ID set in your HTML. This should be the numeric ID, not what you see in the URL. I found my page’s numeric ID via https://findmyfbid.com Example: <div class=”fb-customerchat” page_id=”6708927376315932″> </div> Whitelist your domain at Your Page > Settings … Read more

WordPress get_template_part pass variable

Using WordPress 5.5+ As of WordPress 5.5, passing variables via get_template_part is part of core. Starting in WordPress 5.5, the template loading functions will now allow additional arguments to be passed through to the matched template file using a new $args parameter. get_template_part( string $slug, string $name = null, array $args = null ) Example: … Read more