13 reputation
15
bio website
location
age
visits member for 1 year, 5 months
seen Jul 14 at 10:56

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>.
May
22
comment Extract url from next_image_link
I guess it works now, but it's not what i wanted. I wanted to get the link from next_image_link function, which links to another attachment page containing the next image in the gallery. Your function links directly to the image.
May
22
comment Extract url from next_image_link
Tried <?php echo $src = wpse145194_get_adjacent_image_src(); ?> and <?php echo wpse145194_get_adjacent_image_src(); ?> both output "Array".
May
22
comment Extract url from next_image_link
Thanks for the answer. Sadly i can't figure out how to use it. I created a snippet (using the code snippet plugin) containing the function and used $src = wpse145194_get_adjacent_image_src(); inside href atribute: <a href="<?php $src = wpse145194_get_adjacent_image_src(); ?>">dddd</a>
May
22
asked Extract url from next_image_link
Apr
29
awarded  Commentator
Apr
28
accepted Featured image with link to post shortcode, image displaying above the post