Is it possible to tokenize theme options to make them available to the basic site editor

Ok through much research, I came up with a way to do this through my theme without having to create a separated plugin. First I set the options in the back end (I am using Redux Framework WP Plugin): <?php Redux::setSection(‘z_theme_opt’, array( ‘title’ => esc_html__(‘Page Tokens’, ‘z_theme’), ‘id’ => ‘opt_page_tokens’, ‘icon’ => ‘dashicons dashicons-html’, ‘fields’ … Read more

WordPress HTML editor panel is not showing HTML elements

You can switch back and forth between the editors as much as you want. But the <p></p> tags usually don’t show up in the HTML edit view unless there’s special styling applied to the paragraph (i.e. font size, color, alignment). Let’s say you have the following in the HTML editor: Lorem ipsum dolor sit amet, … Read more

wordpress not saving form code in code editor

Embedding PayPal code into the text editor is always a little risky due to the layout of html elements ‘PayPal style’ vs the layout of html elements ‘WordPress content style’… both are trying to ‘think’ for you a little bit to make your life easier, but as a result the formatting can go whacky. As … Read more

tech