need an [login to view URL] created for a custom post type
$10-30 USD
Pagado a la entrega
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;
}
///////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------------------------
Nº del proyecto: #18244106
Sobre el proyecto
Adjudicado a:
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 Más
5 freelancers están ofertando un promedio de $28 por este trabajo
Hello do you just needed the files for this one CPT or dynamically whenever a custom post type is created?
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 Más