You are trying to echo PHP code. Additionally you are using single and double quotes wrong.
You should just fix the formatting of your echo() functions. Something like this:
echo '<div id="requestsample"><a class="fancybox button" href="#contact_form_pop">Request a Sample</a><div class="fancybox-hidden" style="display: none;"><div class="hentry" id="contact_form_pop" style="width: 600px; height: 500px; overflow-x: hidden">';
echo do_shortcode( '[contact-form-7 id="269" title="Request Sample"]' );
echo'</div></div></div>';
Related Posts:
- WooCommerce: List All Categories
- Combine two taxonomies in a hierarchical tree
- Woocommerce product categories order [closed]
- How to split the categories of subcategories with thumbnails
- WooCommerce – Display product child categories from specific parent
- How to order categories in Woocommerce that are spread over multiple pages? [closed]
- How to add categories to products in woocommerce programatically? [closed]
- Display products for a category, sorted by post_excerpt
- Woocommerce – Get product category 2nd level category
- How do you remove display of WooCommerce product category on single product page?
- Show Featured products in product category pages
- Show category images on single product page and product overview page
- woocommerce product category tabs [closed]
- Get Tags specific to Category using WooCommerce plugin
- How to change how many list item show in category generated by file edit-tags.php
- Target a specific category from a custom taxonomy?
- How to display product categories and number of sales on WooCommerce
- show category in woocommerce
- List products from current category
- Display all subcategories for a product category in woocommerce
- Narrow Down a Shop Page Results Based on a Product Tag in WooCommerce
- WooCommerce Product Search Error
- Add product category to post_class
- Could not insert term into the database
- Activate Gutenberg in category-descriptions
- How would I increase the Author Role to be able to add a new category?
- How to remove the parentheses from the category widget
- Randomise results from a category page?
- Adding Custom User Profile data based upon Categories
- Only show category to certain user levels without plugin
- How to: 301 Redirect /category/ to /customname/
- Custom Query to search through categories
- Order posts by category name
- How can I make wp_list_categories output li with category-slug as class, for its children?
- Get sticky post from category?
- Display one latest post from multiple categories
- Remove word “Category” from WooCommerce product page [closed]
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- How Do I Merge Categories With phpMyAdmin
- Display name of the last child category
- Edit the markup of categories list
- Show category children, one level
- How to exclude posts from a category when using this particular format
- Viewing category pages without the word ‘category’ in URL
- How to view WordPress’ default category IDs?
- Random taxonomy category list
- how to change template?
- Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Product Category WooCommerce
- Show all posts for a specific category/author
- Hard coded main navigation
- Resort get_categories
- Display posts separated by Category in Author’s page
- The arrangement of categories always change while posting article
- Categories list loop – add separator every 3 categories [closed]
- wp_list_pages() exclude category
- Limit categories and it’s subcategories for specific group of users
- Get the ID of 10 Latest Pages stored in a WordPress Category
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- getting post data in functions.php
- Category specific order
- category__not_in and id values from variable
- How do I use just one category’ posts on my home page?
- If x comments in a post move post to category y
- Count tags for a specific category
- wp_list_categories walker without links on categories that have subcategories (to make a nested dropdown menu)
- How can I display tags as categories?
- Adding additional content on post depending on post categories
- Root category template?
- wp_list_categories not excluing multiple ids
- Add Date & Author Meta to Category Archive Page
- A dropdown with checklist
- Custom meta boxes ID prefix showing on first category but not others
- Exclude category from foreach loop
- ID of last created category
- Show Secondary Sidebar on Category pages (archive)
- Get categories of queried posts
- Conditional category query breaking?
- Different header for each category
- 3.1 post formats and specific categories/custom taxonomies
- sidebar troubles, taxonomy trouble
- Code for Category, Tags, Archive URLs
- Duplicate new categories across multisite network
- Display all subcategories from parent category
- WordPress default post categories meta box widget
- Template category.php with page (no posts)
- How to create Child Category page from scratch at wordpress?
- How to insert category to post via php?
- How to set featured image as background for a specific category?
- Show Subcategory Name Instead of Parent Category
- Get category id of next / prev post inside the_post_navigation
- Limit Category/Tag Dropdown To blog_id in Multisite Install With Global Categories/Tags
- Code to display category-specific single.php is overriding normal single.php, too
- Media Library filter returns undefined function get_current_screen
- Custom built theme won’t filter categories
- get IDs from links categories
- Is there a way to combine categories and their hierarchy into the admin listing page?
- How to make horizontal scrolling menu [closed]
- How to get specific number of category post on a page or category page?
- Display different sidebar based on search results from one category
- Adding category to existing post (uploaded file)