html - Read more link in wordpress -


i've been trying change read more buttons in front page while

enter image description here

i've narrowed down html text.

printf('<p>%s</p>', get_the_excerpt($post->id));       printf('<a href="%s" class="button">read more</a>', post_permalink($post->id)); 

i wondering how come read more buttons/links don't have urls? , post id mean?

there's info on treatment of wordpress variables here. in case, %s string variable within printf being generated functions get_the_excerpt() , post_permalink()

both of functions using id of post (post id) retrieve results print.


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -