Custom Post Types

info1496
6 Posts
info1496 posted this 2 weeks ago

Ok, this might be a basic question, but can I somehow create my own custom post types within Themler?

I don´t mind creating the functions code myself but then I face the problem that additional CMS code doesn´t seem to work for the backend.

Do I really need to use a plugin for this??

Ok, this might be a basic question, but can I somehow create my own custom post types within Themler? I don´t mind creating the functions code myself but then I face the problem that additional CMS code doesn´t seem to work for the backend. Do I really need to use a plugin for this??
Vote to pay developers attention to this features or issue.
7 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 2 weeks ago

Hi,

The most recent Beta update
http://answers.themler.com/questions/122312/themler-v-358-beta-update-2-march-2017
allows creating Custom Post Types by adding custom code to the Themler Settings >> Additional CMS Code.

Thank you,
Olivia

Hi, The most recent Beta update http://answers.themler.com/questions/122312/themler-v-358-beta-update-2-march-2017 allows creating Custom Post Types by adding custom code to the Themler Settings >> Additional CMS Code. Thank you, Olivia
info1496
6 Posts
info1496 posted this 2 weeks ago

Thank you!

Any idea on when this will be an official release?

I really don`t want to use a beta version on a customer project

Thank you! Any idea on when this will be an official release? I really don`t want to use a beta version on a customer project
Stagger Lee
1743 Posts
Stagger Lee posted this 2 weeks ago

It is not something Themler should do. You mix functions and design.

It is not something Themler should do. You mix functions and design.
info1496
6 Posts
info1496 posted this 2 weeks ago

It is not something Themler should do. You mix functions and design.

CPT are usually defined in functions.php. I just want to add my cpt function to functions.php but it won´t work through Themler. No need for any design options - just a proper working functions.php like in any regular theme

> It is not something Themler should do. You mix functions and design. CPT are usually defined in functions.php. I just want to add my cpt function to functions.php but it won´t work through Themler. No need for any design options - just a proper working functions.php like in any regular theme
info1496
6 Posts
info1496 posted this 2 weeks ago

will try a Site-Specific WordPress plugin for that

will try a Site-Specific WordPress plugin for that
Stagger Lee
1743 Posts
Stagger Lee posted this 2 weeks ago

Make your own functions plugin, not big deal.

  • New subfolder in plugins folder.
  • folder-name
  • New php file inside folder-name folder
  • Rename it to folder-name.php
  • Activate in WP backend.
  • It is all, just change names tu suit you.

Starter code needed for folder-name.php:

<?php
/**
 * Plugin Name: Custom Functions
 * Plugin URI: http://www.some-website.com
 * Description: This is an awesome custom plugin with functionality that I'd like to keep when switching things.
 * Author: Some Author
 * Author URI: http://www.some-website.com
 * Version: 0.0.1
 */
/* Place custom code below this line. */


/* Place custom code above this line. */
?>

Make your own functions plugin, not big deal. - New subfolder in plugins folder. - folder-name - New php file inside folder-name folder - Rename it to folder-name.php - Activate in WP backend. - It is all, just change names tu suit you. Starter code needed for folder-name.php: <?php /** * Plugin Name: Custom Functions * Plugin URI: http://www.some-website.com * Description: This is an awesome custom plugin with functionality that I'd like to keep when switching things. * Author: Some Author * Author URI: http://www.some-website.com * Version: 0.0.1 */ /* Place custom code below this line. */ /* Place custom code above this line. */ ?>

Last edited 2 weeks ago by Stagger Lee

info1496
6 Posts
info1496 posted this 2 weeks ago

Thank you... just did. Never thought of an alternative to functions.php but it makes sense in so many cases.

Thank you... just did. Never thought of an alternative to functions.php but it makes sense in so many cases.
You must log in or register to leave comments