How toprint informations in footer

Printing content and adding a script to the footer are two different things. If you want to add your banner html in the footer, you can use the wp_footer hook that will trigger when you call the get_footer() function from your theme. You can simple echo your html (or load a template file). function myplugin_wp_footer … Read more

Image cropping isn’t working correctly when using Offload Media

Aye, it’s best if I adhere to policies – as I mentioned in my comment, the fix was painfully obvious updating the provided code to the following & then calling for set image sizes, even if I then had to first define the image sizes, resolved the issue: // Some picture $wp_customize->add_setting( ‘some_setting’, array( ‘default’ … Read more

function ‘theme_settings_page’ not found

call_user_func_arry is a PHP function call back with array of parameters. Nothing mush to do with that. Your function theme_settings_page is not defined. So please define that function and you will get rid of the error. Illustrated below… //admin pannel function theme_settings_init(){ register_setting( ‘theme_settings’, ‘theme_settings’ ); } //افزودن تنظیمات به منوی پیشخوان function add_settings_page() { … Read more