I need a Wordpress / Visual Composer expert
- or -
Post a project like this2428
$$
- Posted:
- Proposals: 9
- Remote
- #1664326
- Awarded
Graphic Design, Website Development, Whiteboard, Animations, Startup Video Company
Karachi
1470014143891221380117029713608691368518174903917704331778903
Description
Experience Level: Intermediate
General information for the website: Wordpress
Description of requirements/features: I've built some custom Visual Composer grid elements, used with the Grid Builder.
add_shortcode( 'vc_cpt_sermon_label', 'display_cpt_sermon_label_render' );
function display_cpt_sermon_label_render() {
echo 'SERMON';
}
add_shortcode( 'vc_cpt_event_date', 'display_cpt_event_date_render' );
function display_cpt_event_date_render() {
$sermon_date = get_field('date', false, false);
$sermon_date = new DateTime($sermon_date);
echo 'format('j F Y') . '';
}
The grid is running a custom query, as it spans across multiple custom post types.
The issue is, the echo is being applied to every element in the grid.
I need someone to only display these based on the post type for each item in the grid
And then ensure that each output is only displayed on the relevant grid item.
Extra notes:
Description of requirements/features: I've built some custom Visual Composer grid elements, used with the Grid Builder.
add_shortcode( 'vc_cpt_sermon_label', 'display_cpt_sermon_label_render' );
function display_cpt_sermon_label_render() {
echo 'SERMON';
}
add_shortcode( 'vc_cpt_event_date', 'display_cpt_event_date_render' );
function display_cpt_event_date_render() {
$sermon_date = get_field('date', false, false);
$sermon_date = new DateTime($sermon_date);
echo 'format('j F Y') . '';
}
The grid is running a custom query, as it spans across multiple custom post types.
The issue is, the echo is being applied to every element in the grid.
I need someone to only display these based on the post type for each item in the grid
And then ensure that each output is only displayed on the relevant grid item.
Extra notes:
Lewis L.
98% (42)Projects Completed
61
Freelancers worked with
54
Projects awarded
42%
Last project
17 Apr 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies