Tell us what you are trying to do?
i like to add a button to a view template. The content for the button text and also for the link of the button should come from custom fields. So i´ve created a custom field for the Linktext (type: single line) and one for the Link URL (type: URL)
How am i able to create now a button which uses the content of the to fields.
Example:
I like to display a grid of a specific post type. Each item in the grid should show the informations: Picture, Heading, and a button with a linktext and link which i specified via custom fields in the post type
F.E. One Post Type will have a link with the text "One" and the link "www.one.de" another one will have the linktext "Two" and the url "www.two.de"
Is there any documentation that you are following?
No i did not find a documentation