Posted By

jefferis on 11/25/18


wordpress settings media snippets social sharing facebook Jetpack

Versions (?)

Word Press Post Type sample code for Posting to Facebook and Social Media

 / Published in: PHP

Word Press Post Type sample function code for Posting to Facebook and Social Media Using the Snippets Plugin and Jetpack Sharing. Replace photographers, etc. with your post type category.

  1. add_action('init', 'my_custom_init');
  2. function my_custom_init() {
  3. add_post_type_support( 'photographers', 'publicize' );
  4. add_post_type_support( 'events', 'publicize' );
  5. add_post_type_support( 'supporters', 'publicize' );
  6. }

Report this snippet  


RSS Icon Subscribe to comments
Posted By: joneslaraa on December 5, 2018

I have to make a website for Business Essay Writing and I was wondering I should make on Word Press should I do this? I need little guideline could you please help me?

Posted By: mysmilescenter on December 30, 2018

I just built my dental website for dentist des plaines in Wordpress. WP CMS is very easy to use

Posted By: emileealisa on January 5, 2019

WordPress is a brilliant site stage for a variety of websites. From blogging to internet business to business and portfolio sites, WordPress is a versatile CMS. WordPress subjects and plugins can include new design options and added functionality.

Posted By: arthurmicheal on February 18, 2019

Can anyone suggest me WordPress theme for my site 7 dollar essay reviews? And any tips regarding its coding. Any answer will highly be appreciated.

You need to login to post a comment.