need an [login to view URL] created for a custom post type

Končano Objavljeno pred 5 letoma/leti Plačilo ob prevzemu
Končano Plačilo ob prevzemu

i have a custom post type "videos", that a plugin created... unfortunately the plugin did not create the [login to view URL] and [login to view URL] file, nor did i add categories taxonomy..

very easy task for experienced developer

------------------------------------------

more info

------------------------------------------

(inside the plugin it has this code: you will notice that hierchal and categories is missing

link to plugin -> [login to view URL]

file location 'wp-smart-tv/lib/[login to view URL]

/**

* Post Type: Videos.

*/

$labels = array(

"name" => __( 'Videos', 'rovidx-smart-tv' ),

"singular_name" => __( 'Video', 'rovidx-smart-tv' ),

"menu_name" => __( 'My Videos', 'rovidx-smart-tv' ),

);

$args = array(

"label" => __( 'Videos', 'rovidx-smart-tv' ),

"labels" => $labels,

"menu_icon" => plugins_url('../assets/img/[login to view URL]', __FILE__),

"description" => "",

"public" => true,

"publicly_queryable" => true,

"show_ui" => true,

"show_in_rest" => false,

"rest_base" => "",

"has_archive" => false,

"show_in_menu" => true,

"exclude_from_search" => false,

"capability_type" => "post",

"map_meta_cap" => true,

"hierarchical" => false,

"rewrite" => array( "slug" => "videos", "with_front" => true ),

"query_var" => true,

"supports" => array( "title", "editor", "thumbnail", 'custom-fields' ),

"taxonomies" => array( "post_tag" ),

);

if (isset($options['rovidx_smart_tv_shortform_video_post_type_enabled'])) {

register_post_type( "videos", $args );

}

///////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////

------------------------------------------------------------------------------------------------

in plugin here controls template for the [login to view URL]

file in plugin --> wp-smart-tv/[login to view URL]

-----------------------------------------------------------------------------------------

function rovidx_wpstv_templates_init( $template ) {

global $wp_query;

$plugindir = dirname(__FILE__);

$post_type = get_query_var('post_type');

switch ($post_type) {

case 'movies':

if ( $theme_file = locate_template( array ( '[login to view URL]', '[login to view URL]' ) ) ) {

$tempFile = $theme_file;

} else {

$tempFile = $plugindir . '/templates/[login to view URL]';

}

return $tempFile;

break;

case 'videos':

if ( $theme_file = locate_template( array ( '[login to view URL]' ) ) ) {

$tempFile = $theme_file;

} else {

$tempFile = $plugindir . '/templates/[login to view URL]';

}

return $tempFile;

break;

case 'episodes':

if ( $theme_file = locate_template( array ( '[login to view URL]', '[login to view URL]' ) ) ) {

$tempFile = $theme_file;

} else {

$tempFile = $plugindir . '/templates/[login to view URL]';

}

return $tempFile;

break;

case 'series':

if ( $theme_file = locate_template( array ( '[login to view URL]', '[login to view URL]' ) ) ) {

$tempFile = $theme_file;

} else {

$tempFile = $plugindir . '/templates/[login to view URL]';

}

return $tempFile;

break;

}

return $template;

}

///////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////

------------------------------------------------------------------------------------------------

CSS HTML JavaScript PHP WordPress

ID projekta: #18244106

Več o projektu

5 predlogov Oddaljen projekt Aktiven pred 5 letoma/leti

Dodeljeno:

suvasiniwebguru

Dear Sir/Madam, We have 6+ years exp. in PHP , Website Design, Wordpress, Open cart, Codeigniter, and also Shopify many more [login to view URL] me one chance this work i will complete your work Relevant Skills and Exp Več

$25 USD v 1 dnevu
(93 mnenj)
5.2

5 freelancerjev ponuja v povprečju za $28 na tem delu

safakerol

Hello do you just needed the files for this one CPT or dynamically whenever a custom post type is created?

$30 USD v 0 dneh
(97 ocen)
5.5
dilshadabdal

Hi, I have 4+ years of experience in web development in wordpress,PHP,HTML,CSS,JQUERY and Javascript. I am a software engineer and specialized in web development. My Skills:-WordPress website development and des Več

$36 USD v 1 dnevu
(28 ocen)
5.2
omsir111

Dear Sir/Mam, I have gone through your requirement and have exact match with the Skills you are looking for current project. I am ready to work on this project and can start work on it immediately. Thanks & Regards Več

$25 USD v 1 dnevu
(10 ocen)
3.9