Welcome To Wordpress site Portfolio with FJ
We do not want to identify the buyers due to some privacy reasons.
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Coding Section
1) Custom Post Type
function create_books_post_type() {
$args = array(
'labels' => array(
'name' => 'Books',
'singular_name' => 'Book',
),
'public' => true,
'has_archive' => true,
'supports' => array('title', 'editor', 'thumbnail', 'custom-fields'),
'rewrite' => array('slug' => 'books'),
);
register_post_type('books', $args);
}
add_action('init', 'create_books_post_type');
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
2) Custom Meta Box
function add_custom_meta_box() {
add_meta_box('book_details', 'Book Details', 'display_book_meta_box', 'books', 'normal', 'high');
}
add_action('add_meta_boxes', 'add_custom_meta_box');
function display_book_meta_box($post) {
$author = get_post_meta($post->ID, 'book_author', true);
echo '<label for="book_author">Author: </label>';
echo '<input type="text" id="book_author" name="book_author" value="' . esc_attr($author) . '" />';
}
function save_book_meta_box($post_id) {
if (array_key_exists('book_author', $_POST)) {
update_post_meta($post_id, 'book_author', sanitize_text_field($_POST['book_author']));
}
}
add_action('save_post', 'save_book_meta_box');
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
3) Custom Widget
class Greeting_Widget extends WP_Widget {
public function __construct() {
parent::__construct('greeting_widget', 'Greeting Widget');
}
public function widget($args, $instance) {
echo $args['before_widget'];
echo '<p>Hello, welcome to our site!</p>';
echo $args['after_widget'];
}
}
function register_greeting_widget() {
register_widget('Greeting_Widget');
}
add_action('widgets_init', 'register_greeting_widget');
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
4) Add Custom Logo to Login Page
function custom_login_logo() {
echo '<style>
.login h1 a {
background-image: url(' . get_stylesheet_directory_uri() . '/images/custom-logo.png);
background-size: contain;
width: 300px;
}
</style>';
}
add_action('login_enqueue_scripts', 'custom_login_logo');
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
5) Enqueue Custom Scripts and Styles
function enqueue_custom_scripts() {
wp_enqueue_style('custom-style', get_template_directory_uri() . '/css/custom-style.css');
wp_enqueue_script('custom-script', get_template_directory_uri() . '/js/custom-script.js', array('jquery'), null, true);
}
add_action('wp_enqueue_scripts', 'enqueue_custom_scripts');
Details About the Work About The Client
Name:
country: USA
City:
Date of employment:
Date of submission:
created by: FJ Experts
Also we have many other works and have considerable experience on these works which you will understand by working with us. So why delay and let's work together .