New answers tagged

0

I manage to solved it by adding this code (at the bottom) to the YOUR BLOG THEMES my path : wp-content/themes/MYWPTHEME/function.php function ws_register_images_field() { register_rest_field( 'post', 'images', array( 'get_callback' => 'ws_get_images_urls', 'update_callback' => null, ...


0

Just rename the the theme folder. This essentially makes it a new theme, so it will no longer receive updates for the original theme, but you can safely make changes to it.


0

In short: Not easily. First - just to say it: with child themes you can hook into functions, filter values, change templates or even exchange javascript files. This is usually enough. Edit based on the comments: If the theme is coded with best practices and checks for child theme directory you may just copy the template from the parent theme to the child ...


1

If you have bought a theme you should have support for other languages. See the chapter Internationalization in the theme developer handbook for more information, or e.g. more specific on translation functions like __() the Code Reference. If you independently developed a theme, you probably forgot about this element. If not, check if your theme not have ...


0

You can create AMP version of your page for mobile devices. Please check this tutorial: https://amp.dev/documentation/guides-and-tutorials/start/create/basic_markup?format=websites


0

Simple setting: look at Admin, Settings, Reading. Change the "Blog pages show at most" value (count). Then look at your Theme Customizations for a setting to show full posts or excerpts. If you don't put a manual excerpt on the post editing page, then the theme will grab the first xx words (depending on the settings in Theme Customizations). Most themes ...


1

Just for anyone else that's looking for solutions. I found this, which I find much clearer than the accepted answer. Plus it gives simple ways to change the URL on the link as well! Just a little more detailed than the accepted answer. add_filter( 'get_custom_logo', 'add_custom_logo_url' ); function add_custom_logo_url() { $custom_logo_id = ...


0

You might be on one of those servers which move the /wp-content/ directory one level up for security purposes. Did you ask the hosting provider for these details? Where are you hosted? UPDATE: Check your wp-config.php file for these details: define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/../wp-content' ); define( 'WP_CONTENT_URL', 'http://' . $_SERVER['...


0

All files should be owned by the actual user's account, not the user account used for the httpd process. Group ownership is irrelevant unless there are specific group requirements for the web-server process permissions checking. This is not usually the case. All directories should be 755 or 750. All files should be 644 or 640. Exception: wp-config.php should ...


0

CentOS7 or Ubuntu 16 1. WordPress uses ftp to install themes and plugins. So the ftpd should have been configured to create-directory vim /etc/pure-ftpd.confg and if it is no then should be yes # Are anonymous users allowed to create new directories? AnonymousCanCreateDirs yes lastly sudo systemctl restart pure-ftpd 2. Maybe there is an ...


Top 50 recent answers are included