How to find the exact widget details
Try installing the JetPack plugin, which includes several of the .com features for your stand-alone blog. There’s a Twitter widget in there that might be the one you were using.
Try installing the JetPack plugin, which includes several of the .com features for your stand-alone blog. There’s a Twitter widget in there that might be the one you were using.
Add a metabox to your post type, see this answer for details. In you sidebar look for the post meta key _t5_extra_box and display its content if it is available. But … I would do this in a plugin and move the rendering into a widget. This is about content mostly, so it doesn’t really … Read more
If I’m understainding you correctly, you’ve hardcoded the wp_list_pages() function in to the widgetized area of the theme’s sidebar, and then, when you add a widget using WordPress’ back end Appearance->Widgets then you no longer see the output of the wp_list_pages() function? If that’s the case, then I think we’ve found your problem. If code … Read more
Looks like they are hard-coded into the sidebar. So you could manually remove them, but they’ll just return when you update the theme. Best solution would be to make a child theme, if possible, and create a new sidebar without the unwanted widgets. EDIT: Remove <aside id=”archives” class=”widget”> <h1 class=”widget-title”><?php _e( ‘Archives’, ‘adamos’ ); ?></h1> … Read more
You may add before as well as after class to the sidebar when you define it into functions.php. <?php $args = array( ‘name’ => __( ‘Sidebar name’, ‘theme_text_domain’ ), ‘id’ => ‘unique-sidebar-id’, ‘description’ => ”, ‘class’ => ”, ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’, //You can change class/id here ‘after_widget’ => ‘</li>’, ‘before_title’ => ‘<h2 … Read more
Yes, there are clearly challenges to using such a public dependency as Bootstrap, especially in a public plugin: version conflicts; styling conflicts; script conflicts. To minimize possibility of conflict and breakage you would need to consider following extra steps: Importing just the necessary Bootstrap styles into your stylesheet and making them specific to only markup … Read more
you can remove shortcode output using below function remove_shortcode(‘shortcode_name’) https://developer.wordpress.org/reference/functions/remove_shortcode/
Whenever you use a value from an array, like $array[‘key’] where it’s possible that the ‘key’ doesn’t exist (such as the first time a widget is used) you need to check that it exists before using it or you’ll get errors on those occasions where it hasn’t been set. Your problem is that when the … Read more
Jetpack’s Subscriptions feature relies on WordPress.com. The emails sent via the feature are not sent from your own server, but from WordPress.com. You will consequently want to contact the Jetpack support team via this contact form. They are the only ones who can investigate more by looking at logs on WordPress.com. You will want to … Read more
I’ve had good luck with the Widget Logic plugin. It lets you use template-style logic for each widget. It’s not quite the same as adding a whole new admin page just for conditional widgets (you would need to create and register a new sidebar, etc), but it’s great for the quick-and-dirty ‘get it in there … Read more