WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?

So I would take of on your html form the onsubmit()=…, once isnt needed and your javascript function should only have something like this. document.getElementById(“form_1”).style.display = “none”; or document.getElementById(“form_1”).style.visibility = “hidden”; this should do the job, if for some reason it does not, change the onclick from the input to the form tag. Your code … Read more

How to create a multiple choice radio group for a single theme option

case “radio”: foreach ($value[‘options’] as $option) { ?> <label for=”<?php echo “{$value[‘id’]}_{$option}”; ?>”> <input type=”radio” name=”<?php echo $value[‘id’]; ?>” id=<?php echo “{$value[‘id’]}_{$option}”; ?> value=”<?php echo $option; ?>” <?php checked($option, get_settings($value[‘id’])); ?> /> <?php echo $option; ?> </label> <?php } break; But I don’t recommend coding theme/plugin settings this way. The array above doesn’t just represent … Read more

Anonymous Postings

you can use plugins fro the front-end posting: Post From Site uCan Post WP User Frontend Or you can create the form yourself <!– New Post Form –> <div id=”postbox”> <form id=”new_post” name=”new_post” method=”post” action=””> <p><label for=”title”>Title</label><br /> <input type=”text” id=”title” value=”” tabindex=”1″ size=”20″ name=”title” /> </p> <p><label for=”description”>Description</label><br /> <textarea id=”description” tabindex=”3″ name=”description” cols=”50″ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)