Creating Help Tabs for WordPress is super easy with Piklist.
In this example, we’ll create some help for your custom Post Type. You should already have a custom Post Type registered and working in WordPress.
parts/help/
folder create a new PHP file to hold your notice code. This file can be named anything you want.<?php
/*
Title: Content Help
Page: your_custom_post_type
*/
?>
This comment block tells Piklist to create a Help tab for the page yourdomain.com/wp-admin/post-new.php?post_type=your_custom_post_type
.
This post type is used for a special purpose.
<?php
/*
Title: Content Help
Page: your_custom_post_type
*/
?>
This post type is used for a special purpose.
WordPress also allows for a sidebar in your help.
<?php
/*
Page: your_custom_post_type
Sidebar: true
*/
?>
This code tells Piklist to create a Help sidebar on the same page as your help.
<p>
<h4>Help is just a click away.</h4>
<ol>
<li>
<a href="//yoursite.com/contact-us target="_blank">Contact us</a></li>
<li><a href="https://google.com/" target="_blank">Search Google</a></li>
</ol>
</p>
You’re done!
<?php
/*
Page: your_custom_post_type
Sidebar: true
*/
?>
<p>
<h4>Help is just a click away.</h4>
<ol>
<li>
<a href="//yoursite.com/contact-us target="_blank">Contact us</a></li>
<li><a href="https://google.com/" target="_blank">Search Google</a></li>
</ol>
</p>
This documentation is a community effort. Please create an issue or pull request to help!