get value from selected input

Well, I don’t know how many input type of radios and checkboxes you have, but this should get you want you need: $(document).ready(function() { $(‘input:radio’).change(function() { // get the value var newValue = $(this).val(); // Update the div.score $(‘div.score’).text(newValue); }); }); PS: Your radio input need to have the same name, if you do not … Read more

How to add custom filed value after in wp post title

It is a simple 3 step process: Look for your post title markup that should look something like: <h1><a href=”https://wordpress.stackexchange.com/questions/311624/<?php the_permalink(); ?>”><?php the_title(); ?></a></h1> Now, get your post custom meta value through: <?php $bannerContent = get_post_meta($post->ID, ‘bannerContent’, true); ?> Next add this value to your title where ever you need: <h1><a href=”https://wordpress.stackexchange.com/questions/311624/<?php the_permalink(); ?>”><?php the_title(); … Read more