Tag Info

New answers tagged

0

I have managed it to work i was trying not to work on with hooks like the plugin developers suggest, but the solution was with hook. Here is the documentation example of the plugin But i need to edit the content of the post too so i make a loop to find the post you can create a query to get it too it will be ok too. So i get the content like this: ...


0

Thanks for the answer but this doesn't display my values ! First i tryed to just set $options to global like you said, but it changed nothing and i still can't get the values : <p><?php global $options; echo $options['txt_number']; ?></p><p><?php global $options; echo $options['txt_mail']; ?></p> Also tryed to put ...


0

You might want to take a look at CRED plugin and see if it gets you anywhere near what you need. I've worked with it back when it was three different plugins (Types, Views and Access). For as much as I can remember they used to keep a testing environment where you could take plugins for a spin in a clean site on their server before you bought it, you ...


0

Maybe this plugin comes close to what you want? https://wordpress.org/plugins/adminer/screenshots/ However, you can use something like Sequel Pro to connect to the database to build SQL queries.


-1

Make the $options variable global by changing the header_add_content() function to the following: function header_add_content() { global $options; $options = get_option('header_options'); } add_filter("the_content", "header_add_content"); Then declare $options as the global $options on the front-end template before you use it, for example: ...


0

First, you should change your input field names to something unique. category is a WordPress query var, so submitting a form with that field name may have unexpected results. That said, post_category is only for the category taxonomy, custom taxonomies should use the tax_input parameter. however... if this form is being submitted by users who are not ...



Top 50 recent answers are included