Why can’t I add a field to my home page?
-
Hello,
The person who developed my website does not seem to be around any more. I don’t know much about themes (or wordpress) so I really need help if I want to make any changes to my website.
I have the following fields defined for the home page
Banner Image
Intro Main Heading
New box area – not showing
Intro box1
several moremy home page page-home.php starts out
<?php /* Template Name: Home Page */ //Advanced Custom Fields //banner $banner_image = get_field('banner_image'); <?php /* Template Name: Home Page */ //Advanced Custom Fields //banner $banner_image = get_field('banner_image'); //Intro Blocks $intro_main_heading = get_field('intro_main_heading'); $new_box_area = get_field('new_box_area'); - I added this line $intro_box_1 = get_field('intro_box_1'); $intro_box_2 = get_field('intro_box_2'); $intro_box_3 = get_field('intro_box_3'); $intro_box_4 = get_field('intro_box_4'); //Intro text Blocks $intro_text_block_1 = get_field('intro_text_block_1'); $intro_text_block_2 = get_field('intro_text_block_2'); //Client logos $add_logos = get_field('add_logos'); //Footer useful links block $footer_useful_links_block = get_field('footer_useful_links_block'); get_header(); ?>
Any suggestion on what else I need to modify?
- This topic was modified 5 years ago by .
- This topic was modified 5 years ago by . Reason: please use CODE button for code formatting
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Why can’t I add a field to my home page?’ is closed to new replies.