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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -