637 reputation
513
bio website visztpeter.me
location
age
visits member for 3 years
seen 11 hours ago

May
15
comment Getting page ID inside loop
Simply define a variable outside your custom loop for your current post id that you can re-use later
May
12
comment Change id=“respond” to the comments container
I don't see any filter to change this, so i think the easiest solution is to wrap your comment_form() function in a div with a specific id. <div id="respond-1"><?php comment_form(); ?></div>
May
2
revised Get Tag Slugs that start with a word
added 193 characters in body
May
2
comment Get Tag Slugs that start with a word
Check the updated answer for a solution that works better when you have lots of tags
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