627 reputation
412
bio website visztpeter.me
location
age
visits member for 2 years, 11 months
seen 1 hour ago

May
1
comment wordpress option page data from select form is not saving to database
Are you sure its not saved correctly? Try print_r on the $options variable.Maybe the selected() function is not working properly.
May
1
answered Get Tag Slugs that start with a word
Apr
14
answered Gravity Forms | Form Object is NULL
Apr
11
comment Open first link in subnavigation when clicking top navigation
Simply add the Pizza sub navigation as the main menu item and rename it to Food
Apr
11
comment (solved) how to have the gallery shortcode output one single UL list instead of several DL?
It will generate 2 list item / image(2 li element), not creating an ul for each image.
Apr
10
answered (solved) how to have the gallery shortcode output one single UL list instead of several DL?
Apr
7
comment Get wp-load.php PATH with wp_localize_script and JavaScript for plugin
When you're viewing your site, its already loaded, otherwise nothing will work. What exactly are you trying to do?
Apr
7
revised Update meta values with AJAX
added 2 characters in body
Apr
7
comment Update meta values with AJAX
To be honest, i'm not sure what you mean by this, but if this is necessary, you need to pass the current post id too, not just the $vote_id in the ajax request, because the global $post variable is not in the wp_ajax function.
Apr
7
answered Update meta values with AJAX
Apr
7
comment How to add featured thumbnail into import XML?
Its the other way around. You can export the media in a separate xml file, and the media is attached to the post, not the post to the image.
Apr
7
answered Changing permalink name redirects to another template?
Mar
24
comment Highlight only current on single pages
li.current-menu-item li a {color:red;}
Mar
24
comment Highlight only current on single pages
why not highlight them using CSS?
Mar
24
comment Custom field totals
simply $_GET['post_status']
Mar
23
revised Custom field totals
added 401 characters in body
Mar
23
comment Custom field totals
The best i could find is the views_{$this->screen->id} filter, which is the top left post counter below the post type title, i updated the answer
Mar
23
comment Custom field totals
Theres a couple of available filters/actions, where exactly would you like to display this value?
Mar
23
answered Custom field totals
Mar
20
answered Programmatically change Payment Methods WooCommerce