Reputation
Top tag
Next privilege 20 Rep.
Talk in chat
Badges
1 6
Newest
 Supporter
Impact
~9k people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Jan
6
awarded  Supporter
Jan
6
accepted How to use the post_updated hook before and after arguments
Jan
6
revised How to use the post_updated hook before and after arguments
added 225 characters in body
Jan
6
comment How to use the post_updated hook before and after arguments
@Reigel thanks for the example
Jan
6
comment How to use the post_updated hook before and after arguments
Thank you @JoeMoe1984. I kind of knew how action/hook work but i wanted to see the difference, that's why i echoed it. Got it working now.
Jan
6
asked How to use the post_updated hook before and after arguments
Jul
12
accepted Get a different meta value with ajax when different elements are clicked
Jul
9
answered Get a different meta value with ajax when different elements are clicked
Jul
9
asked Get a different meta value with ajax when different elements are clicked
Dec
28
accepted Empty the_content for all posts
Dec
28
comment Empty the_content for all posts
That works. I needed to do this only for the default post type so i run UPDATE wp_posts SET post_content="" WHERE post_type='post'. Thank you.
Dec
28
asked Empty the_content for all posts
Dec
27
awarded  Popular Question
Nov
29
awarded  Notable Question
Aug
16
awarded  Popular Question
May
23
accepted Extract url from next_image_link
May
23
comment Extract url from next_image_link
Works now, thanks. Maybe change $src to $link in your answer under "Uses".
May
22
answered Extract url from next_image_link
May
22
comment Extract url from next_image_link
Anyway thanks for your time, i think i found a sollution, i'll use the function from twentyfourteen theme.
May
22
comment Extract url from next_image_link
I think you didn't understand what i meant. So i am on the attachment page for image 1, when i click on image 1 it takes me to attachment page of image 2, i click on image 2 it take me to attachment page of image 3 and so on. What i needed is the link to the next image, only the link, your function, using it like this <?php echo $src = wpse145194_get_adjacent_image_link(); ?> outputs <a href="link_to_next_image"><img src="next_image_source"></a>.