maxou64
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
no support ?
Forum: Fixing WordPress
In reply to: How to have sticky post also in categoryi found this and it reslove my issue :
http://wordpress.stackexchange.com/questions/190474/sticky-posts-for-each-category-archive-php
thanksForum: Hacks
In reply to: mysql query to add stikcy postthanks bcworkz ! 🙂
Forum: Hacks
In reply to: mysql query to add stikcy postThanks,
Here is my php code :
while ($res3 = $req2->fetch()){ $rArray[] = $res3->post_id; } $jSticky=serialize($rArray); print_r($jSticky);but it’s not work as it’s return this :
a:3:{i:0;s:2:”55″;i:1;s:2:”84″;i:2;s:3:”127″;}but wordpress want this format instead :
a:3:{i:0;i:55;i:1;i:84;i:2;i:127}Have you got an idea ? how to return the good format ?
Thanks you so much
it’s work, thank you very much 🙂
Forum: Hacks
In reply to: mysql query to add stikcy postThank you bcworkz.
Here is the content of my table “sticky_posts” :
a:1:{i:0;i:13;}
Anyone could help me to have the correct php-mysql syntax to transform this ?
I would like to add the post id 14 as a “sticky post”
Thanks a lot
Viewing 6 replies - 1 through 6 (of 6 total)