With query_posts('p=27');
you request only the post with the ID equal to 27. Does this post exists and have the more tag in the content?
Also note that (taken from WordPress documentation):
If you want to use the Read More functionality with this query, you
will need to set the global $more variable to 0.
And you are setting the global $more variable to 1.
Also be sure to use the more tag in template files intended to display multiple posts: category, archive or index and home (index and home supports more tag only if you have set your home page to show your latest blog entries in the wordpress settings).
Related Posts:
- Is there a has_more_tag() method or equivalent?
- query posts in wordpress
- show a post from a specific post format
- How to move the the_excerpt’s read more link to another div
- Using $post->post_name in body id causing error: Trying to get property of non-object
- Exclude read more in the_excerpt [closed]
- 2 loops, is_home won’t work, count is off
- Show specific category posts on Genesis framework home page
- How to create query to get top 3 sticky/latest posts
- Allow filtering of loops for all categories
- Getting post URL within custom content template
- Custom Static Page to Display Blog Posts in Excerpt Non-Singular Form (is_singular not working?)
- How to create .pot files with POedit?
- How do I get the theme URL in PHP?
- What is the difference between wp_register_sidebar_widget and register_widget?
- How to enqueue script if widget is displayed on page?
- Custom Image section in Customizer
- Get 10 posts from a WP_Query. If less than 10, get the remainder from elsewhere
- get_stylesheet_directory() returns wrong URI… localhost/using vhosts
- Any alternate TinyMCE4 themes / subthemes?
- How Do I Programmatically Force Custom Permalinks with My Theme?
- wp_get_attachment_image_attributes not working for me
- Best practice (forward compatibility) for theme options
- How to use Plupload in themes
- add_editor_style not working
- Returning Variables back into a template
- How to handle thumbnails
- WordPress Google Maps in Custom Theme
- In theme development, are there functions which write HTML in a standard fashion to reduce “spaghetti code”?
- Checking if there is an Image inserted – if not don’t display anything
- How can I include a post in a theme?
- Retrieve data using wpdb to use for customizer controls
- Modify the Additional CSS section (adding a disclaimer)
- Creating directory and file using native wordpress file system
- Don’t understand why theming is so strange and twisted [closed]
- Create self-populating menu and add extra divs to the menu layout
- I want edit_post_link() to open in a new window/tab (target=”_blank”)
- wp_get_attachment_image_src() width and height boolean
- How to store functions in… functions.php?
- Is there a need for nonce with Post Metabox?
- get_page_template returning nothing
- How do you force a sidebar widget to have a container div around all child widgets?
- Add widgets to available widgets section without changing the theme?
- Override template file i subfolders
- Theme Development for WordPress Multisite Installation
- How to obtain the html stripped version of $category->description?
- How to make animated intro?
- Replace custom logo with text
- WordPress Website Browser Compatibility issue with IE [closed]
- create category on theme setup
- StoreFront product pages: Turn the Short Description section into a kindred tab section [closed]
- WordPress get_template_part() function not working
- Recommended method for updating/adding menus when adding new theme
- How to add custom meta box under Gallery Settings in the “Edit Gallery” popup
- How to use add_theme_support(‘html5’)?
- Tag Page Not Listing All Posts With Tag
- How do I make the most minimal vanilla theme possible with nothing but raw content?
- How to list articles by year based on url?
- Pagination not working on page template
- How can I prevent posts with no title showing up in my query?
- How to make theme configurable
- Wordpres core-update theme renames theme folder name
- I’m using wp residence theme and want to display titile above the slider [closed]
- Issue when posting updates/changes to wordress
- Shortcode IF statment help
- Theme customizer – can’t add section/settings
- WordPress Load Only Page Text
- Bootstrap grid system is not working in my WordPress theme
- StoreFront WordPress theme: How can i create a new Home page with Custom design same as template [closed]
- Unable to add widgets to sidebars in custom theme
- Non-standard (new) theme file
- Best Practice for Server Processing
- How do I display a greyed out next_post_link when there is no next post
- What is the difference between Twenty eleven & roots framework?
- WordPress Show Single Post on Home Page with previous/ Next Button
- Is there any way to store single.php wordpress file into a php variable
- Woocommerce AJAX filters option loading spiner – problem on mobile device
- How to Modify WP_Includes/blocks/latest_posts.php
- Page For Specific Posts
- How can I show a custom WordPress menu anywhere I want on my website?
- Menu is in Reversed order
- How to connect two child themes on different sub domains to the same base theme
- Group several custom global page templates in sub-folder
- Should I detect the device or the page first?
- How does mediaelement.js work in WordPress?
- Query wp_postmeta into an array based on post_id
- Theme not uploading showing maximum upload size on live site
- WordPress Theme Developments – Start from another theme
- Access meta box checked value in another file
- Best way to access variables in template markup
- How do I get my theme scripts to load in a custom theme built from Bootstrap
- Problem with multiple menus in theme
- How to convert that page to a wordpress template? [closed]
- JQuery Equal Height in Rows Conflicts Only Works without Registering wp_footer();
- Saving Permalinks Results in 403 MAMP (Windows)
- Add rel to all images in a post
- WordPress theme Modifications not showing up on live server
- Incorrect sidebar showing on WooCommerce Store page [closed]
- How to Create a Multi Purpose Theme?
- customize functionality of share buttons under each blog post [closed]