Posted By

jefferis on 11/25/18


Tagged

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  

Comments

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. https://www.doneassignment.co.uk

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.

Posted By: rubynash on July 2, 2019

Thanks for this article. I use WordPress, it's suitable for me. Also, I like other sites where I can find interesting ideas for my life and my job. By the way, I like this one <a href="https://freshessay.net/>freshessay.net.

Posted By: rubynash on July 2, 2019

Thanks for this article. I use WordPress, it's suitable for me. Also, I like other sites where I can find interesting ideas for my life and my job. By the way, I like this one

Posted By: rubynash on July 2, 2019

Thanks for this article. I use WordPress, it's suitable for me. Also, I like other sites where I can find interesting ideas for my life and my job. By the way, I like this one freshessay.net.

Posted By: AbbyTaylor on August 8, 2019

Hello, thanks for sharing this interesting information. I appreciate reading. The tips which are mentioned here will be helpful for a lot of people. Personally, for me, it helped with my [senior paper](https://quality-essay.com/senior-papers.html"senior paper").

Posted By: AbbyTaylor on August 8, 2019

Hello, thanks for sharing this interesting information. I appreciate reading. The tips which are mentioned here will be helpful for a lot of people. Personally, for me, it helped with my (https://quality-essay.com/senior-papers.html"senior paper").

You need to login to post a comment.