Coder Social home page Coder Social logo

churchthemes / church-theme-content Goto Github PK

View Code? Open in Web Editor NEW
58.0 15.0 29.0 2.47 MB

The Church Content WordPress plugin provides compatible themes with church-related post types, taxonomies and custom fields.

Home Page: https://churchthemes.com/plugins/church-content/

License: GNU General Public License v2.0

PHP 97.14% CSS 0.84% JavaScript 1.79% Shell 0.23%

church-theme-content's Introduction

Church Content WordPress Plugin

A WordPress plugin from ChurchThemes.com providing compatible themes with church-related post types, taxonomies and fields. This plugin was previously named "Church Theme Content".

Purpose

Church Content provides functionality enabling the user to manage sermons, events, people and locations to be displayed by a compatible theme.

Experienced WordPress developers agree that functionality like this does not belong in themes since themes are intended only to control the appearance of a WordPress site. Content that users might expect to take with them if they switch themes should "live" in a plugin. Similarly, our approach is not to display content using the plugin since themes offer more control for that purpose.

For more information:

For a list of official and third-party compatible themes, see Best Church WordPress Themes.

Developers

The Church Content plugin was made in a way that other church theme developers can take advantage of it. A couple benefits are that you will save time and be helping to accomplish better data portability among church websites powered by WordPress.

Visit the Developer Guide on ChurchThemes.com for instructions and example code.

church-theme-content's People

Contributors

beyond-hello-world avatar davidshq avatar galengidman avatar radarhere avatar stevengliebe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

church-theme-content's Issues

Add "show_in_rest" to custom post types

The Wordpress team is working on a "feature as a plugin" that allows for interacting with a Wordpress site via a REST API. Custom post types do not show up by default, but can by simply adding 'show_in_rest' => true in the arguments to register_post_type.

This allows for a sermon to be accessed like so:

GET www.mychurch.example/wp-json/wp/v2/ctc_sermon/8532

{
  "id": 8532,
  "date": "2015-08-09T12:15:30",
  "guid": {
    "rendered": "www.mychurch.example/?p=7070"
  },
  "modified": "2015-10-14T19:41:14",
  "modified_gmt": "2015-10-15T00:41:14",
  "slug": "gods-plan",
  "type": "ctc_sermon",
  "link": "http://www.mychurch.exampleh/sermons/gods-plan",
  "title": {
    "rendered": "God’s Plan"
  },
  "content": {
...
  }
}

Im working on a tool to port a site containing ~10 years of sermons from vanilla wordpress to a site based on the Exodus theme, which uses the CTC plugin, and the REST API has proven to be invaluable at automating this migration.

Reason for &$this references?

Wondering if there is a reason for retaining &$this references in code (e.g. church-theme-content.php under __construct)?

newsletter CPT

I'm looking at building a CPT for our monthly newsletter.

We build and send it out via constantcontact.

Debating the best integration still.

Any interest in adding this feature?

Events - Time picker jQuery UI CSS - Conflict with Advanced Custom Fields Pro

When the Advanced Custom Fields plugin is activated, the time picker for events does not display correctly. Apparently, the ACF plugin also has styles for the jQuery UI time picker and is overriding the styles from the ct-meta-box/css/jquery.timepicker.css file.
Advanced Custom Fields is a very common plugin for not only developers, but many themes utilize it.
I'm assuming the best solution would be to add some type of "ctc" class to the timepicker to make it's styling more unique and less prone to interference from other potentially active plugins.

integrate ical subscription to events

our current solution lets us import and ical feed from our reservation system into our events CPT.

automates things for the volunteers.

any thoughts on integrating this?

Consolidate theme support calls

A feature suggestion for theme support. Instead of doing this:

add_theme_support( 'church-theme-content' );

add_theme_support( 'ctc-sermons' );
add_theme_support( 'ctc-events' );
add_theme_support( 'ctc-people' );
add_theme_support( 'ctc-locations' );

You could consolidate this into a single theme support call:

add_theme_support( 
    'church-theme-content',
    array( 'sermons', 'events', 'people', 'locations' )
);

This would be similar to how WP handles post formats:

add_theme_support(
    'post-formats',
    array( 'audio', 'video', 'image' )
);

I hadn't looked at that part of the code to see how you're handling it, but it'd be a pretty easy switch and a little more like how WP handles things like this.

Anyway, it's an enhancement suggestion that might be worth considering at some point, particularly if you start adding more theme-supported features.

Series image

Would you be open to adding taxonomy meta for a Series image? If so, I may be able to work on a pull request.

/wp/v2/ctc_sermon does not include information about video, audio and pdf

Currently we want to build a small script in order to upload our sermons from the last 10 years to our wordpress site where this plugin (the pro) is running.

What we have detected is that the response from GET /wp/v2/ctc_sermon do not include the information about the video, audio and pdf that is defined as part of the sermon.

'_ctc_sermon_has_full_text', '_ctc_sermon_video', '_ctc_sermon_audio', and '_ctc_sermon_pdf', is missing.

Question: How to include index page for Topics, Books, etc

Hi, I've taken the Restful theme and am modifying it so that I can support topics.

I added to the "theme support"

add_theme_support( 'ctc-sermons', array(
    'taxonomies' => array(
      'ctc_sermon_book',
      'ctc_sermon_series',
      'ctc_sermon_speaker',
      'ctc_sermon_topic' // added
    ),
    'fields'     => array(
      '_ctc_sermon_video',
      '_ctc_sermon_audio',
      '_ctc_sermon_pdf'
    )
  ) );

And added a template called taxonomy-ctc_sermon_topic.php

But I can't seem to figure out how to set up a home page for topics. I want to show a list of all the topics like https://demos.churchthemes.com/exodus/sermon-archive/sermon-topics/

I notice that the non-post types don't have an "All" option in the menus like sermons has. So I'm not sure if this is the issue.

My current setup has /archives/sermon-topic/contentment as a valid url and uses the taxonomy-ctc_sermon_topic.php template. But if I try to go to /archives/sermon-topic it is not found.

I've tried creating template files called taxonomy-sermon-topic.php, archive-ctc_sermon_topic.php, taxonomy-sermon-topic.php and nothing seems to work.

Any help would be greatly appreciated.

Discrepancy in plugin functionality when compared with demo site for Exodus church theme

Hello everyone,

let me first introduce myself a little bit. My name is Jan Sichula and I live in capital of Slovak Republic, Bratislava, where I pastor independent Grace Baptist church. I am also a web programming enthusiast with a little background in .NET and C#. Now our present church web site was built some 13 years ago, by another pastor as a hand-coded PHP (address is http://www.nkzba.sk/). It has served us well across those years but the time is ripe for a new modern solution including features like responsive front-end design. As a Bible believing and Bible preaching church, we publish audio recordings of sermons for wide distribution through our web site.
Originally my idea was to implement sermon functionality on top of .NET based solution named Orchard. However, one of our church members gave me advice to have a look at WordPress. Well, what shall I say – it proved to be good advice for why should one reinvent a wheel if it already exists in good shape and form. I love .NET and Orchard but both still need to get a traction among churches. On the other hand, there is a vibrant community of WP users who had successfully used it to implement church web sites. During last four weeks, I was trying to gain overview of existing WP solutions that offer sermon publishing. I have to say that I like your plugin most of all so far. At this period, I am intensely testing your plugin with free compatible theme named “Restful” to ascertain whether it will indeed satisfy our needs. Now it all looks promising but I also have an issue where I kindly ask for your clarification. How is it that a paid theme named “Exodus” offers functionality that I do not see exposed in the plugin at all (as demonstrated at https://demos.churchthemes.com/exodus/)?
In particular, I can’t see any of the following functions exposed in the plugin as I am trying to give it a test ride and yet the Exodus theme features those capabilities:

  • No way to assign sermon topics in the plug-in UI.
  • No way to assign sermon tags in the plug-in UI.
  • No way to assign date when sermon was preached in the plug-in UI.

Would you please clarify why is that? Or am I missing something?

Best regards and may God bless your valuable efforts for Lord’s churches.
Jan Sichula

P. S. I am fairly new to the world of PHP and WP but once I gain some experience, I will be happy to lend a helping hand and contribute some code. :-)

Location_type

Hi,
Would you consider adding this type of taxonomy to the locations post type?

The kind of thing I'm interested in doing is allowing people to filter a set of locations. For example, we are a diocese, and our locations include both churches and schools, as well as church-sponsored organizations like food pantries, etc. so it could be helpful to display them by type, similar to the way People can be categorized into Groups and easily displayed together.

Thank you for your consideration - we're about to switch to the Saved theme, and it's an excellent piece of work you've done. The theme is really well-designed and very customizable. Thank you for that, too!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.