Site icon Hip-Hop Website Design and Development

Methods to get the worth of enter hidden html from textual content editor to customized web page template?

I’ve 10 or extra enter hidden in 10 or extra pages with completely different values in WordPress textual content editor and I need to get the worth utilizing $_POST in a customized web page template.

How to do that? I attempted to known as the enter hidden title in my customized web page template however the worth just isn’t getting.

Textual content editor

<type methodology="POST">
    <enter kind="hidden" title="phase" worth="check"/>
</type>

Customized web page template

$phase = isset($_POST['segment']) ? $_POST['segment'] : '';