how to get value of a select box in custom widget wordpress

You missed the ending curly brace of the class techno_widget, you need to call the function techno_load_widget outside of the class techno_widget and you declared the variable ‘$blog-titlewrong. You can’t declare variable with–. It is core PHP` convention. So I rewrite your code like below- class techno_widget extends WP_Widget { function __construct() { parent::__construct( ‘techno_widget’, … Read more

get_post_class not working properly

An empty string is used for the glue parameter of implode(). get_post_class() will return an array, and you want to separate the array values with a space, so use this: $post_class = implode( ‘ ‘, get_post_class() ); This appears to be a bug in the WP Most Popular plugin. I submitted an issue to the … Read more

Simple SCript Not Displayed in WIdth

You maybe need to enqueue the js file after jQuery or any other library. It also depends on how you want to implement this (with your theme or plugin), but it’s another question. You need to read more about wp_enqueue_scripts action to register and enqueue in the right way and see into Discord manual to … Read more

How to get sidebar widgets in leftsidebar template

In your sidebar.php or any other custom sidebar file call by ID like this <?php get_sidebar(‘sidebar-widget-1’); ?> Not like this <?php get_sidebar(‘Sidebar Widget 1’); ?> See the difference, I used ID in get_sidebar() function instead of name. Now where ever you want sidebar appear in front-end, there call it like this <?php get_sidebar(‘sidebar-widget-1’); ?>

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