Option 1
Create a custom template for your landing page:
/**
* Template Name: My landing page
*
*/
and add the code manually as you would add to a static site.
Option 2
Create a custom field for your code on the landing page and output the meta content in the template created above.
Option 3
Write a conditional statement in your header file testing for the landing page and insert the snippet.
if (is_page( 'Landing Page' )) {
//do stuff
Related Posts:
- Return $post_id when DOING_AUTOSAVE?
- source code: WP_INSTALLING vs. WP_SETUP_CONFIG in setup-config.php
- How do I reset my footer.php to its original state? (theme: Origami)
- Return $post_id when DOING_AUTOSAVE?
- Best collection of code for your .htaccess file [closed]
- Including Angle Brackets In Pre Sections
- Anchor Text code string is automatically modified by WordPress
- WordPress is converting & to & inbetween [code] brackets
- Notice: Undefined property: wpdb::$current_post What can be wrong?
- Where to save common libraries?
- Replacing the default content created while the site creation
- Sublime Video: Playlist which gets all attached videos
- Code Friendly Block Quotes
- Remove line breaks from ?
- How to fix a “globals” issue to avoid a rejected theme?
- Need resource on available functions and objects
- WordPress wp_insert_post() returns 0 but not not wp_error
- I want to remove the home page header image from all other pages
- Hide wordpress field if data is empty in post!
- Adding custom styles to dropdown in editor
- How does WordPress determine which multisite the user is on from the URL?
- Proper implementation/use of code/syntax highlighting
- Adding custom field in all widgets, but at the top of the form, in admin area
- How to remove all comments from JS, HTML, CSS files?
- What data validation we must use in different contexts?
- Need To Post Unformated Code
- Sidebar login: How do I get the username to show after “Welcome”?
- Tips for managing code when developing a parent theme framework
- How to manage multiple wordpress project with shared code base
- Block IP Addresses using Code [closed]
- How to stop displaying the Id without losing the functionality
- Find Total Authors
- Why does HTML entities are still encoded in Code Block?
- How to create a checkbox to show/hide a field in WooCommerce checkout [closed]
- how to display google maps with javascript
- How to pass https://achecker.ca/ validator? [closed]
- How to write custom code on WordPress?
- Remove Metaboxes
- Google analytics won’t work in wordpress
- Where do I add an action hook & callback in my theme?
- Commenting out in HTML editor breaks template
- Woocommerce template file outputting tags
- wordpress prepare error
- Adding code to send referrer on login page
- Table styles disappear when updating content
- Manage recurring event time
- wp_editor save all content
- Need an elegant solution to declare the value of two variables based on the count of the post
- How to implement custom Javascript to my site
- Pull ‘Popular Posts’ within specific timeframe
- A good way to include snippets of code in both posts, pages and Event Manager Template files?
- Anchor Text code string is automatically modified by WordPress
- Changes in code only show after changing theme
- Code Highlighting in BlockQuote
- feed url problem
- Add variable : 1 Week ago
- Where do I go to add a tag before the closing body tag?
- Changes to code not displaying
- Developing an IP lookup function using an API
- Remove WordPress theme from a specific page
- How to keep a WordPress site synchronized between two servers?
- Integrating WordPress to my website, while keeping my own authentication system
- How to delete outdated, wrongly sized images in _wp_attachment_metadata?
- Custom Fields and performance
- How to show custom message once on plugin activation?
- One WordPress Install, Two Categories. Each Category Gets a Domain
- Query post types with multiple keys
- What is the canonical way to link to pages?
- Defer Code in Widgets – Page Speed
- Best practices: Custom theme sidebar menu – hardcode or widget?
- Why would switch_to_blog stop working?
- How to make new plugin setting checkbox default as checked
- ‘Customize’ button in admin bar for CSS
- Fatal error: Call to a member function add_rewrite_tag() on a non-object in /wp-includes/taxonomy.php on line 333
- Change login error messages? Cookie error message
- Custom Page that comes with preloaded content for the user
- Allow non-admins to access the Customize theme page
- Query post for ‘selected category’ in archive.php
- Multiple Images/ Slider with custom post [single.php] [closed]
- Best practices to assert current_user_can() with guests
- External Domain on WordPress Multisite
- Customize The Events Calendar to Include an Option to Expand for More Events Listings
- I’m trying to create an array with a foreach loop, but the array only stores the last item [closed]
- Can I do in-page changes binding events/triggers to actions in WordPress?
- How to start editing my site with WordPress?
- how to add wp-user fields to front-end form
- Show custom field value as a link
- restrain filter on get_the_excerpt to queried item in stead of current post
- New to WP: links on static homepage are not working
- custom/automatic export function – one post at a time?
- How to define a static Home page
- Remove all link title attributes
- Change the search results header from plugin
- Make Terms Under Custom Taxonomy Use Specific Single.php Template
- Problem Locating and Changing Alt Attribute Of Link
- Img alt tag showing different value then entered
- Delete old thumbnail when updating new
- WordPress Custom wp mail template return full template
- Add multiple HTML attributes to an Elementor button
- I want create woocommerec match products columns