How to adjust only the template gallery

There are several possible things affecting your gallery. The first most basic one is WordPress Core itself. The gallery shortcode is created in /wp-includes/media.php. If you had a default theme and no plugins, that would be controlling it. However, the behavior you describe is being added, either by a theme or a plugin. A theme … Read more

Add new header/footer on landing page with plugin

You can intercept the template WordPress will be using with the template_include filter. Like this: add_filter (‘template_include’,’wpse303537_plugin_template’, 10,1); function wpse303537_plugin_template ($template) { if (is_front_page) $template = plugin_dir_path( __FILE__ ) . ‘/my-template.php’; return $template; } Alternatively, you can include an almost empty template for the landing page in your theme and fill it through the action … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)