0

I have created a button using wordpress block editor. I have linked this button to a section. I need this button to be present in the beginning of all my posts.How can I automate it rather than having to make it again and again? I am currently using the jnews theme

I tried installing code snippets but I don't know the right php code to enable this. If anyone could provide the code it would be a great help..

1 Answer 1

0

You should edit single post template.

Its path for example is "/wp-content/themes/your_theme/single.php".

Place HTML code of the button to this file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.