The styles in the recent posts widgets plugin not working
I got this fixed the proble was in the custom.css where i added .s-right{ margin-top:-30px; } i removed that and that fixed the margin issue
I got this fixed the proble was in the custom.css where i added .s-right{ margin-top:-30px; } i removed that and that fixed the margin issue
This is what I have come up with that works. In the function widget of the class: public function widget($args, $instance) { if (isset($instance)) { //$title = apply_filters( ‘widget_title’, $instance[ ‘title’ ] ); //$blog_title = get_bloginfo( ‘name’ ); //$tagline = get_bloginfo( ‘description’ ); } else { $title=”Just My Size”; } global $selectedevent; global $event; global … Read more
OK, here is my code and some more information. This is the markup structure without the form fields of my widget: <div id=”widget-XX_my-widget” class=”widget open” style=””> <div class=”widget-top”> <div class=”widget-title-action”> </div> <div class=”widget-title ui-sortable-handle”> <h3>My Widget-Title<span class=”in-widget-title”></span></h3> </div> </div> <div class=”widget-inside” style=”display: block;”> <form method=”post”> <div class=”widget-content”> <div class=”my-widget-section”> <div class=”my-widget-top”> </div> <div class=”my-widget-inside active”> … Read more
How to decorate WP_Widget_Text?
There are many ways to make pages full width. In your case you just have deleted the sidebar widget but the sidebar is still exist. So if you have any template full width in your theme you can simply assign to the page. If you are using elementor, you can use full width template by … Read more
$post_args = array( ‘post_type’ => ‘post’, ‘posts_per_page’ => -1, ‘meta_key’ => ‘field_name’, ‘meta_value’ => ‘field_value’, ); $post_query = new WP_Query( $post_args ); $posts_array= array(); if ( $post_query->have_posts() ) { while ( $post_query->have_posts() ) { $post_query->the_post(); $posts_array[] = get_the_ID(); //Array of post ids } wp_reset_postdata(); } //YOUR COMMENT ARGS SHOULD BE THIS $args = array( ‘number’ … Read more
Update widget values from ajax function
Thanks to the wordpress forums, some grateful one just helped me finding the answer. So If you come here looking for a solution. Please first try the options I put in the post before, they did not work for me but they did for other users, so give them a try first. If for some … Read more
How would you return a value from an individual field in a custom widget?
You should be able to remove the widget from Apperances > Widgets page on your WordPress menu. Have you tried that yet? Also, if you are using the Genesis theme from StudioPress, you and can’t find a suitable way to remove it, try inspecting the widget element, see what CSS ID or class is controlling … Read more