-1
votes
0answers
3 views

if this kind of project possible in wordpress?

i have some questions. i am planning to create my own “management crm”. so i looking for plugin that can give me the next options to build it in the way i want and need to my business. this project ...
0
votes
1answer
16 views

How do I alter the position of a Custom Post Type menu item within my plugin admin menu?

I'm writing a plugin (for the first time, so bear with me!) which includes a custom post type; 'Programmes'. In the admin menu, I've set up a new menu group for the plugin, and I have the 'Programmes' ...
1
vote
1answer
41 views

Wordpress metabox file upload in custom post [duplicate]

I'm relatively new to wordpres development and am stuck at this issue. I have created a custom post type which shows up in the admin menu. I need a metabox in it with a file upload field. The metabox ...
0
votes
2answers
42 views

How to group navigation items in the admin panel

I have more than 50 custom post types which I have created using the Pods plugin. The problem is that the left navigation of the admin panel looks really busy and messy and it takes a lot of time for ...
0
votes
0answers
27 views

$post->ID not working but the get_the_id() is [duplicate]

I created a custom post type from a Plugin. Then in a function like show_data() I queried the post type along with its post meta data (Custom Fields). Then in Page Template I used the function to show ...
1
vote
2answers
62 views

Way to hook into a sidebar call to replace it with a custom sidebar

I want to replace the sidebar-2 in the twentyforteen theme with a custom sidebar based on a conditional statement for CPT. So if the page is showing a certain custom post type then show my custom ...
0
votes
1answer
130 views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
0
votes
1answer
53 views

What's an efficient way to change the post status of many posts at once?

I'm looking for an efficient way to change the post status on many posts at once. I have a custom post type that I'm using as a means to store content that must be approved by a moderator before being ...
0
votes
2answers
61 views

How to use get_sidebar in plugin folder?

I've created the plugin that adds custom post type and custom taxonomis for this post type. Templates for the post type and the taxonomies are located in plugin folder. Now I need to add sidebar for ...
0
votes
0answers
14 views

Problem Display Custom Post On Page

i am new in wordpress and first time i make plugin with help of tutorial i make custom post i need when i add data in custom post display on page but i still didn't find the mistake please suggest, i ...
2
votes
0answers
188 views

Custom media upload content for inserting custom post shortcode

I’m working on a plugin that creates custom post type “portfolio” along with shortcode to insert in any page or post. The shortcode is: [portfolio option1=“1” option2=“0” option3=“1” ] And it works ...
0
votes
0answers
28 views

Overwriting a theme function with a plugin [duplicate]

This is a two parts problem. 1) I want to replace the custom post type with custom taxonomy term on my permalink. By default my URL structure is: http://example.com/holiday/remote-brazil holiday = ...
0
votes
0answers
242 views

Custom Taxonomy Showing in WP Menu

I have 3 taxonomies bundled with my custom post type. I have noticed my custom post type(cpt) and 2 taxonomies won't show in the Wordpress menu system but 1 taxonomy will. Can anyone point me in the ...
0
votes
2answers
56 views

Get term_id for each instance of custom taxonomy

I am building a custom image slider. I have a custom post type called 'slide' with an associated custom taxonomy called 'slideshows'. When you create a new 'slideshow' it add to a custom table in ...
0
votes
1answer
43 views

Modify a plugin function output from another plugin

I'm writing a plugin for a wordpress site using a page template using WP Types plugin. My plugin adds a shortcode tag. Shortcode tags inside 'the_content' get processed without problem. But this ...
0
votes
0answers
37 views

Custom post types working in functions.php but not in plugin

I want to register a WordPress custom post type. This works perfectly fine in the functions.php, but not in my plugin file. The plugin does work except for registration of the CPT. The code is pretty ...
0
votes
0answers
28 views

How to internationalize the sub menu name “categories” in Custom post type?

I'm trying for translation. I made a plugin with custom post type everything is okay. Only one thing i can't able to translate which is categories sub menu menu in custom post type. $args = array( ...
1
vote
1answer
1k views

How to Add Custom Taxonomy To Woocommerce Plugin

I am trying to add a Custom Taxonomy to Woocommerce by targeting the product post type in Woocommerce. I used following code and added it into functions.php I am not getting any error message but the ...
0
votes
0answers
86 views

Adding Custom Post Type to Woocommerce

Can you please let me know if there is any way to add your own Custom Post Type to Woocommerce and use that instead of using Woocommerce Product? Thank
-3
votes
1answer
49 views

Need some hints for my own WP theme development

After taking some online tutorials I am willing to create my own custom theme for my myself. This is going to be an online Contact Lense store! So far I have learned how to generate and use Custom ...
0
votes
0answers
89 views

Meta Box Not Showing up in The Admin Page

Using WordPress 3.7.1 and PHP 5.4.12 I am trying to add a Meta box - text field to my Custom Post Type. My custom Post Type name is "news" and this is my code: <?php /* Custom Meta Boxex */ ...
1
vote
3answers
1k views

Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?

I am having a bit of a strange issue with rewrite rules not flushing properly. I have tried using flush_rewrite_rules(); and flush_rewrite_rules(true);. I have also tried globalizing $wp_rewrite ...
0
votes
1answer
117 views

How to List Custom Post Type Titles Based on Theirs Taxonomy Terms Inside a Nested Loop

I am trying to list at least the last three updated Custom Post Type's title lets call it "Cast" inside another loop which is listed based on the Taxonomy terms called "Actress" I used the following ...
0
votes
1answer
112 views

Custom Taxonomy Not Showing in Menu

Using Wordpress 3.7.1 and PHP 5.4.12 I am trying to create a Custom Post Type called "News" and an associated Taxonomy Called "Subject". I generate the code from Generate WP site as below: After ...
0
votes
0answers
11 views

Pagination in get post of custom post type [duplicate]

I tried to add the pagination in get_post in the following method <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $the_posts = get_posts(array('post_type' => 'image', ...
0
votes
2answers
91 views

Issue on Adding Taxonomy to Custom Post Type Using Function

Using WordPress 3.7.1 and PHP 5.4.12, I am trying to add Custom Post Type and Taxonomy to my Theme, so far the custom post type method works but the Taxonomy is not adding to the Admin Dashboard. ...
0
votes
1answer
2k views

How to add multiple featured image in meta box in post editor?

I would like to add multiple featured image in meta box in post editor area apart from default available featured image. I have added the meta box but i have no idea on adding the featured image ...
0
votes
1answer
91 views

Add Excerpt On Quicksand Plugin

I'm using this plugin called "Quicksand" for Wordpress.. You might wanna check the link. What it does normally is it filters posts based on the category.. It shows the Featured Image Title of ...
0
votes
0answers
42 views

How to Filter Facebook Plugin to Post a Specific Only Custom Post Type

I am using WordPress Facebook plugin to post my new posts from WordPress to my Facebook Page. So far everything works perfectly and I set up an app on my Facebook to integrate with my WordPress. Now ...
0
votes
1answer
58 views

CPT to installable Plugin

I have gotten pretty good at creating CPT's for clients sites, but now would like to take it a step further by making them plugins outside of the theme so when/if they decide to change themes it is ...
0
votes
1answer
403 views

Uploaded image not appearing in custom post type

I am writing a plugin which should allow users to create a custom post type called reseller and attach an image. The image is being uploaded to the uploads folder and appears in the media library with ...
0
votes
2answers
696 views

Issue with pre_get_posts on custom post type archive pages

Overview I am creating a theme which has 2 custom post types (as custom plugins): Articles Reviews I have also created single-articles.php and archive-articles.php templates inside the plugin. ...
0
votes
1answer
97 views

Resources to learn OOP for WordPress plugins, custom post types, etc

In a plugin, I need to create a custom post type and the associated admin menu modifications with a class rather than procedural code. What is the basic skeleton that I need to build off of in order ...
0
votes
1answer
364 views

how can i show a google map in custom post type

i m making a plugin in which, custom type posts are used, for the Location Custom type, how can i show a Google map for any location. The Output will be shown as
0
votes
1answer
273 views

How to use a dedicated template for the Custom Post Type from a plugin?

I'm working through this tutorial on Custom Post Types (in a plugin) wherein the author demonstrates how to force the use of a dedicated template for the Custom Post Type. The author states thus: ...
0
votes
0answers
43 views

Adding a new Custom Capability

(There are about 3-5 answers regarding this question that I can find and none give a solid answer - I want to do this without external plugins because this is for my own plugin) I am looking to add ...
1
vote
1answer
56 views

Detect where custom post type is declared

In a plugin that I'm developing I'd like to be able to display a list of all custom post types currently enabled. Is there any way to detect where a post type has been initiated? For example, if it ...
0
votes
1answer
61 views

Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites

I've built two WordPress sites. One is public site--people go to it, view my content, etc. The other site is a private course catalog. In the course catalog I have 3 custom post types. The content of ...
0
votes
1answer
116 views

Multiple Block Quotes without using HTML

First of all, I have a client that has no HTML knowledge. He wants his all his posts to have a certain format where within the post body, he can add multiple pull quotes with different styles. Note ...
0
votes
2answers
217 views

Metadata for a taxonomy - is there any WordPress way of doing this?

If I have a CPT "movies" I know I can have various taxonomies eg "Director", but how can I store further information such as "director's nationality" for any one particular director ... or is this ...
0
votes
0answers
18 views

Maintain custom post types and taxonomies in all themes [duplicate]

When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
1
vote
1answer
68 views

Plugin fatal error

I'm trying to activate a plugin I made on a network site. I'm getting an error: Plugin could not be activated because it triggered a fatal error. I have the debug mode on and it outputs all errors ...
7
votes
2answers
3k views

Creating a Custom Post Type as a Plugin? Why?

I've been experimenting with creating a Custom Post Type as a plugin (because I've seen this recommended in various places). But I have a question not about the how, but rather the why of building ...
1
vote
1answer
52 views

Is it possible to create Custom Post plug-in?

I understand that Wordpress allows you to create Custom Post Types with Custom Fields, but is it possible to create a custom Plug-In that creates and maintains its own Custom Post type (outside of ...
0
votes
1answer
87 views

Determine which template-{slug}.php is being loaded

I am trying to make a personal plugin that does specific things based on what is loaded. In this example, in my action method I want to perform one function if the currently loading page is using the ...
0
votes
0answers
59 views

get_option include <br /> in my adsense

As title said I saved in wp-options -> option_value a adsense code but when I try to display to website in the code I get some "<script type=\"text/javascript\"><!--<br ...
2
votes
1answer
211 views

Get image URL from media library in input

On wp-admin/post.php?post=447&action=edit for example I have a link and an input. The link appears as follows: <a href="#" class="button insert-media add_media" data-editor="tj_image_url" ...
0
votes
1answer
106 views

Custom Post Type Navigation on Custom Field

I'm working on a Custom Post Type sorted on a Custom Field. No problem when I list out the posts. But when I go to the single post page for one of these, I want the Prev and Next navigation links to ...
3
votes
2answers
1k views

Custom Post Type Plugin: Where Do I Put The Template?

I'm writing a custom post type plugin. Part of it I'm outputting to the template via shortcodes. But other parts need a custom post template, and I figured out how to use the template hierarchy for ...
1
vote
0answers
72 views

Unable to delete custom post types, confusion around capabilities

So I'm working on a plugin for creating a questions/answers system that's as simple and well-integrated as possible (not unlike this site) but am stuck at the creation of the custom post types. You ...