Post on facebook when I publish blog

As Robert hue said, you’ll have to use a plugin for this. There are plenty in the Plugin directory, but you could also write your own plugin (or add the code to your theme’s functions.php file) if you can’t find a suitable one or need more functionality. You’ll want to hook into the publish_post action. … Read more

Custom Header won’t Repeat

You are targeting #header img(incorrect) and using repeat-x without any background-image property. Use this CSS code: #header { background: rgba(0, 0, 0, 0) url(“http://playfulsstudio.com/wp-content/uploads/2015/05/cropped-playful-logo.jpg”) repeat-x scroll 0 0; }

php code to shortcode [duplicate]

Hi You can use this code. function wpse_143641_profile_shortcode( $atts ) { echo get_avatar( get_current_user_id(), 64 ); } add_shortcode( ‘royal_profile’, ‘wpse_143641_profile_shortcode’ ); And you should add the short code in your editor [royal_profile] or template do_shortcode(‘[royal_profile]’)

Insert data into custom table from fetching $_POST values

if(!empty($_POST)) { $player_name = $_POST[‘first_name’]; $payer_email = $_POST[‘payer_email’]; $payment_gross = $_POST[‘payment_gross’]; $payment_date = $_POST[‘payment_date’]; $payer_id = $_POST[‘payer_id’]; $paypal_str = array($player_name, $payer_email, $payment_gross, $payment_date, $payer_id); print_r($paypal_str); global $wpdb; $wpdb->insert( ‘paypal’, array( ‘name’ => $paypal_str[0], ’email’ => $paypal_str[1], ‘amount’ => $paypal_str[2], ‘player_id’ => $paypal_str[3], ‘date’ => $paypal_str[4] ) ); } Remove the unwanted comma from the array.

remove description in colum title post

On same page above post list (in top right), you have this section to change list view. Select the red arrow pointed option to disable excerpt view. Currently you are in excerpt view that’s why post description is showing.

Save search criteria per user and show on custom user page

Assuming that those users have accounts on your site (are subscribers, authors, or some other role), you can add custom fields to their profiles. The easiest way is to use a plugin, like Advanced Custom Fields (https://wordpress.org/plugins/advanced-custom-fields/). The fields would be available in their profile pages, and you can add, and use in any template. … Read more