821 reputation
514
bio website
location Russia
age 29
visits member for 3 years, 2 months
seen Jul 27 at 21:24

Web development is my life style. I really love it!


Jul
12
comment Proper use of add_option() function?
register_setting() doesn't relate to update_option() or get_option(). Your code is ok even without register_setting('heatvalueoverall','heatvalueoverall');
Oct
8
comment Most efficient way to get posts with postmeta
Otto, you are the best )
Oct
15
comment Where to modify translation files by _e()
First of all read this codex.wordpress.org/Translating_WordPress and try this plugin wordpress.org/extend/plugins/codestyling-localization
Oct
15
comment Automatically replace original uploaded image with large image size
If this solution works, it would be very useful to make a plugin.
May
8
comment Why do I lose the content of meta boxes when I leave the page?
Don't sure, but did you try save_details($post_id)? like described here codex.wordpress.org/Plugin_API/Action_Reference/save_post
May
2
comment List 'n' number of posts from a Tag, each with a different class or ID
Get any theme and look inside (Twenty Eleven for example). You will find there all you need.
May
2
comment In Loop Output Place Custom Field Content In Between Paragraphs
Answer your own question if you think it's right and accept it. I think you should use the_content filter to count p tag and insert custom field after second p. Or use a short tag.
May
1
comment Possible to limit custom meta boxes depending on what page template is used?
You've added a good idea about CPT. This is the only way to determine what meta box to show. Otherwise you need to save page first and than based on it's parameters show metabox.
May
1
comment Possible to limit custom meta boxes depending on what page template is used?
Describe what type of page do you mean please
May
1
comment Possible to limit custom meta boxes depending on what page template is used?
Are you talking about admin area? If yes than you cann't separate pages when you create new one. But after first save you can filter as you wish, it may be page template or page id or parent page id.
Apr
30
comment wp_get_object_terms() to get a list of all the terms attached to all the posts in the current query
I think this and some modifications could make the trick wordpress.stackexchange.com/a/50176/7314
Feb
16
comment
+1.............
Jan
30
comment How can I add a featured image to a page?
custom fields? codex.wordpress.org/Custom_Fields
Jan
22
comment Gallery with thumbnail carousel
do not discover a bicycle, there a lot of galleries. For example very good gallery twospy.com/galleriffic
Nov
24
comment Enqueue script on every page except one
Why don't put it in header.php? Is it essential to have it in functions.php?
Nov
24
comment How can I do a variable for meta_query?
Just change it! I don't see a problem. How can I help you?
Nov
24
comment How can I do a variable for meta_query?
where is problem?
Nov
12
comment Rewrite rules for custom post type
did you setup add_rewrite_tag() and add_rewrite_rule()?
Oct
9
comment What is the current page's Taxonomy?
What do you mean under taxonomy? tag, category or custom taxonomy? Read this to define more clear
Oct
9
comment Why does hitting enter in Visual Editor add <p> instead of <br>?
of course Shift + Enter. It was my mistake, need some sleep :)