0
votes
1answer
25 views

Editor access to menu: custom post type missing

I have used this code; $roleObject = get_role( 'editor' ); if (!$roleObject->has_cap( 'edit_theme_options' ) ) { $roleObject->add_cap( 'edit_theme_options' ); } to add menu access for ...
1
vote
1answer
49 views

P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor

I know you can customize the placeholder default text of the 'Post Title' field, but is there any way to display placeholder content in the actual TinyMCE post editor? Ideally I'd like to display ...
1
vote
1answer
55 views

Is it possible to activate customfield 'text description' upon activating the customfield 'checkbox'?

I'm trying to find a solution how to activate a another customfield in WordPress pages when the selectbox is selected. This is the script to simply show the customfield 'checkbox' in wordpress page ...
0
votes
1answer
340 views

Function to add custom HTML into head in custom post-type list page

How can I add custom HTML/PHP file into head where custom post-type list showing like this ? Any Wordpress function can do this ? or I can only do by JS(jQuery) to append my custom content ?
0
votes
1answer
517 views

wysiwyg editor don´t export paragraph <p>

I use cmb for my custom metaboxes. What I´ve done: 'type' => 'wysiwyg' My WP-Backend: (HTML-Editor): <h1>Headline</h1> Paragraph Browser-Source just looks like: ...
0
votes
1answer
57 views

Show posts of parent in edit.php

I'm creating a post type for a site where there 4 main 'parent' pages in a custom post type. For the sake of argument the post type is 'schools' the 4 (of many) parents are: Cambridge Teesside ...
1
vote
1answer
214 views

Target post type edit page to change view post button, how do I?

I am trying to change the link of the "View Post" button that appears next to the "Change Permalinks" button above the editor on post edit screens for a custom post type. I have altered all the ...
3
votes
5answers
6k views

Front end post editing using a form

I have a custom-post type with the standard meta boxes and some custom fields. How could I edit a post through a form in the frontend?
4
votes
4answers
5k views

Custom Post Types: How-to get rid of editor (-meta box)

I'm questioning how i can get rid of the post-editor (visual + html). I tried to not register post type support, and it still appears (de-registering works fine with every other default meta box on ...