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
- Use wp init hook to call other hooks?
- How to add ‘class’ attribute into shortcode [audio]?
- How to create thumbnails with a fixed width, so all of them will have the same width?
- Is there an action/filter called when WP_Query->query is finished and assigns posts
- View category in the preview of Theme Customizer
- Settings API erases itself?
- How can I include PHP-Code to my post?
- Get the post attached to a image attachment
- Having trouble with custom post type / meta box
- How to implement content from external database into WordPress text page? [closed]
- How to get value from custom backend menu
- Subdomain and subdirectories together in one installation
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- After deleting a post are terms, and custom meta deleted?
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- Use WordPress file upload in my plugin – on frontend and on backend?
- Include Sticky Posts with Custom Query
- Check Title Unique Or Not and If not error message and dont save
- Gutenberg: How to mix dynamic and static output?
- Force user to login in home page
- How to disable saving/changing update date for certain admin users?
- Setting up Different Layouts for Each Product Category and Subcategory [closed]
- Prevent access to custom login page for logged in users
- RSVP form for Facebook events from a WordPress post?
- Adding all sub-pages to the menu manager
- How to import my YouTube channel into WordPress?
- create a select input with menus created on a custom options page
- how to remove the top navigation bar or header top on wordpress website?
- Split Conference WordPress Page in different years
- Make custom user table column filterable
- How I display post of the post type group by year of post?
- How to update preview when custom setting changed in my custom widget
- How to include a post type in the admin/backend?
- Side by side blogging?
- Changing wordpress publication date to ACF date and time picker date not working
- Getting custom posts by post id from cutomizer text input
- Extra theme – header customization help [closed]
- Disable widgets in customizer for sidebar
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?