This message is thrown on every page load.
[14-May-2016 22:20:36 UTC] PHP Notice: The called constructor method for WP_Widget in Sticky_Post_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/tec-dev.parrot-consulting.com/wp-includes/functions.php on line 3718
I have modified this method in my copy of the plugin in the following file.
sticky-post-instance.php
I changed this
– $this->WP_Widget( “{$this->prefix}sticky-post”, esc_attr__( ‘Sticky Post’, $this->textdomain ), $widget_options, $control_options );
to this
+ parent::__construct( “{$this->prefix}sticky-post”, esc_attr__( ‘Sticky Post’, $this->textdomain ), $widget_options, $control_options );
I’m not sure if further updates are being made to this, plugin, but, if so, I would like to request that the constructor method be updated.
Thanks
]]>can i add a band in the corner of a sticky post? my website is this. i want to make the sticky post like this give a visit
]]>Hello. I was wondering if anyone could help me. The thumbnails for my sticky posts are all out of wack. You can see an example here travelingfor.us there are pretty much the size of the thumbnail, but even larger than that.
]]>Hi – I’m not very techno-oriented. I want to change the dark grey background colour of the sticky post in Magazine Basic – and I also want to remove the text shadow. I want a white background, and no text shadow. How do I do this? (My site is: nataliegtherapy.com) If you type that in, you’ll see what I mean. When the “recent posts” section is clicked, the page looks clean. That’s how I want the sticky post to look (but I don’t mind a border)
Many thanks, natalieg
I have no idea how I am supposed to use this
]]>Hello,
Sorry for my english.
I have install the sticky post plugin in my site.
I have created the post_type as xxxx and also I have add post as sticky
but the Post is not showing in front end sticky post widget.
SELECT tt.term_taxonomy_id, tr.term_taxonomy_id, p.*, COUNT(tr.object_id) AS COUNT FROM wp_term_taxonomy AS tt, wp_term_relationships AS tr, wp_posts AS p WHERE
tt.term_taxonomy_id = tr.term_taxonomy_id AND tr.object_id = p.ID AND p.post_status = ‘publish’ AND
p.post_date_gmt < NOW() AND p.ID IN (46146,39187,46153,46144,46162,46165,46168) GROUP BY tr.object_id
ORDER BY COUNT DESC, p.post_date_gmt DESC LIMIT 0,5
this is query but result not showing.
please resolve my issue.
regards,
uday
]]>Hi
i dont know how to add posts to sticky ?
on widget not have option to sellect posts ?
thanks
]]>