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
- Embedding a custom live chat (gen. from Salesforce) into my WordPress header
- Add custom css to specific user
- Need to add custom cart item data
- Can`t attach image to a multiple posts
- How to change product title color in shop page if product has specific product tag (Woocommerce)?
- WordPress Page Width Issue: Seeking Solutions
- WordPress Media File – Hard Code
- issues having 2 reader accounts. need to log in to two different accounts
- Prevent part of plugin loading in another menu
- Is it possible to create a custom post type with blank page for Post List and Add Post Page only?
- Is it posible to multiple entry value before submit Gravity forms?
- How to capture number input from wordpress form into acf field in woocommerce
- How do I get the URL section to show use a different domain in the WordPress Admin?
- Restricting page by user role
- How to Remove Default Category Metabox in Custom Post Types
- Custom Logo: why parameters are not working at all?
- Customize style of window alert text
- How can I restrict comments on WordPress, so only the POST AUTHOR and the user who commented can see them?
- Block Theme: How to use a different template on front page vs paginated pages?
- Add More Featured Data Not Sending to Database
- Customizing Additional CSS editor
- How to edit text of new user email?
- How to remove “MY WORDPRESS”” Label
- How can I keep a WordPress dropdown menu open when navigating to a child page?
- How could i add username field in WooCommerce
- How do I disable shortcuts in WordPress?
- How to Display News in a Timeline with Headline, Category, and Time?
- Querying a meta field on a custom taxonomy archive
- Fatal error with start_lvl and start_el in an abandoned theme
- WordPress child theme widget customization – Eduma
- How To Fix the “Another Update is Currently in Progress” Error in WordPress
- How to show custom post type in all post section?
- This plugin helps create custom buddypress group tabs but it is producing a 404 error, how can it be edited, is it the screen_function?The code is i
- Where can I find the missing page sections in wordpress?
- Newbie question – which css file to edit
- Change woo status automatically [closed]
- How can I make a window.dataLayer.push for the Authors name to Google Tag Manager
- How do i get custom fontSizes and theme fontSizes?
- how to add custome text in each products side in checkout page after pincode validation [closed]
- Create a uniqueId when a block is created or copied
- A developer set a ‘standard format’ for my blogposts on wordpress but i need to remove it, how?