2,896 reputation
149
bio website codeseekah.com
location EAX Register
age 25
visits member for 1 year, 7 months
seen 32 mins ago
stats profile views 154

In love with ASM, C/C++, Python and PHP/MySQL, dissecting WordPress


May
15
comment How to add default images into theme customizer image control?
@user1632018 glad it helped! :) Don't forget to mark the answer as solved by accepting it to prevent it from lingering around.
May
8
comment Why isn't WMPL correctly redirecting users based on browser language?
Good job. You can accept your own answer to mark the question as solved.
May
8
comment how i can change wordpress post views?
Try looking at wp.tutsplus.com/tutorials/… and localization as the correct way to go. For the superfast, speedy, way you can try str_replace if the number can be substituted as is, left-to-right. str_replace( array( '1', '2' ... ), array( '০', '১' .. ), $count
May
8
comment Wordpress daily cron is executing more frequently than once a day
It seems that your "Once Daily" schedule is set to every 1 min from the screenshot above. It's defined twice, so go over your code. Another thing I noticed is that you don't return $schedules from the cron_schedules filter, add return $schedules; at the end.
May
8
comment How to read newpost return post ID value as integer for xmlrpc
Provide the output of var_dump( $remote_id ); and state why you need it as an integer.
May
8
comment Get posts under a category with SQL
Does your query work as expected? If not look over core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/… for exact query construction and joins.
May
8
comment how i can change wordpress post views?
Change the return "0 View"; and return $count.' Views'; lines to suit your needs.
May
8
comment Custom post type same as default post type (single.php)
Your theme must have switched on additional features for the default post type, or uses its own post type. Look through the code for register_post_type and add_post_type_support. Replicate whatever the theme did to get your own type to match.
May
8
comment comments are going to spam
First and foremost - deactivate all plugins and set default theme. Did that help?
May
8
comment Why isn't WMPL correctly redirecting users based on browser language?
With the source being hidden by at least $29 you might want to contact WPML for support instead. Also, in this questions, paste in the headers that are being sent by each browser.
May
8
comment My blog has a design issue.
Look at the is_home and the is_front_page conditionals.
May
7
answered How to add default images into theme customizer image control?
May
7
answered QTranslate for Custom Post Type
May
7
comment Constant Contact plugin forbidden error
Look at your webserver error logs, I have encountered setups of Apache wherein files and directories were required to have 0 permissions for group and all. More information on the deployment environment would also be good to have - server versions, etc.
Jan
21
comment Force modified contributor role to be re-approved on edit?
But then the post disappears from public view...
Oct
16
awarded  Yearling
Sep
20
comment Does wp_logout_url() destroy a session? (Logging out question)
@kaiser, as stated in the ticket core.trac.wordpress.org/ticket/21938 the missing bit is the "no-store" directive, which most browsers interpret as "OK, I won't cache this page in the history". Also I'm trying it with init and it's not working, as if the headers are overwritten after init.
Sep
20
comment Does wp_logout_url() destroy a session? (Logging out question)
Thanks, @kaiser, I'm a bit rusty on my WordPress-fu, so you're probably right, init should handle both cases - front-end and back-end. There's also a nocache_headers hook available for places where browser caching was not meant to be, which includes all of the Dashboard.
Sep
20
revised Does wp_logout_url() destroy a session? (Logging out question)
added 98 characters in body
Sep
20
revised Does wp_logout_url() destroy a session? (Logging out question)
added 118 characters in body