Redirect Button

You can create a button in a page or text widget with a simple shortcode:


Possible parameters are:

div_class: Class name used for the enclosing div.
Class name used for the button.
text: Button text. Put the text into quotes if it contains spaces. Default: “Random Post”
redirect_to: Sets the query parameter, see the explanations above. Default: “random”
params: Additional parameters. Formatted as: “key1=value1|key2=value2| …” You can use sort order parameters, search parameters or other parameters.


[redirect_to_post_button text="Go to latest post about XY" redirect_to="latest" params="tag_id=23|utm_campaign=button"]

You can, of course, also create your own button, link or menu and manually insert the URL.