You probably want to use get_permalink and get_the_title. Example:
<a href="https://wordpress.stackexchange.com/questions/19555/<?php echo get_permalink( YOUR POST ID ); ?>"><?php echo get_the_title( YOUR POST ID ); ?></a>
Replace YOUR POST ID with the ID of the post you’d like to link to. Post ID’s will change from install to install, however, so this might not work as expected.
http://codex.wordpress.org/Function_Reference/get_the_title
http://codex.wordpress.org/Function_Reference/get_permalink
Related Posts:
- Subpages return 404 error [closed]
- Do the permalink settings apply to pages as well as posts?
- How to configure WordPress to handle 75,000 pages?
- How to disable posts and use pages only
- What is the difference between $paged and $page?
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- Broken wordpress permalinks on pages only
- Change admin startpage to Pages-page?
- Password protected post or page – error message by wrong password?
- Get next/previous cousin page
- I want only my sub-pages to be clickable in the navbar
- How do I turn comments off for pages, but not posts?
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- Redirect to a page if ancestors is empty
- Get Order of Meta Box in a Page/Post
- Check to see if page exists problems
- Modify Page Title before output via wp_page_list
- Custom /page/2/ template (different from index.php)
- Form action redirect to the same page
- How do I create a separate page for each author?
- Overriding the currently selected menu item
- Front Page not showing on Pages
- WordPress pages with hierarchy
- How to incorporate Documentation into wordpress?
- Use lots of pages, or categories/posts?
- How to have custom tinyMCE buttons break onto next line when too long
- Get page by its ID and display it on another one
- Get all pages that are published
- Add a predefined page to site
- creating and styling a within a page
- What are trackbacks?
- How to enumerate a list of posts?
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- How to show the root webpage on all subpaths
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove ID page from wp_count
- get_permalink returning site home url instead of the url of slug being passed
- category slug and page slug same
- Host frontpage via example.com and everything else via example.com/blog
- Updated WordPress, now getting errors on site
- Remove Content edit box from ALL pages (not posts)
- What is full URL for a post?
- When changing pages to posts, how do you set up 301 redirects for the page URLs?
- Edit Parent page drop menu when creating a page
- Get parent of current page
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Remove comment section from new page
- Exclude pages by menu order
- Read more on pages WordPress
- Bad pages redirection
- Parent page shows no child content
- Remove_filter (‘the_content’, ‘wpautop’) only pages
- Weebly Migration to WordPress [closed]
- Need to create a custom page on a website
- How To Render Shortcode In AJAX Response?
- Do I have to widgetize my pages?
- Page Title repeating
- Password Protect Pages Not Working
- Can I connect a page to a taxonomy?
- wp_nav_menu: output featured image of each page listing
- Is there a template tag/function for getting the URL (or slug or name or ID) of the blog page when using a “static” front page
- Change displayed “page name” to distinguish multiple pages with the same title
- How to use category slug with a regular page
- How do I structure my permalinks in WordPress?
- add title to widgets of wordpress
- Custom user tables not working after migration
- remove “Edit” from select pages
- How to transfer a site to hosting?
- Custom Post Type Single Page and Archive Page redirects to Home Page
- Add the same content to multiple pages
- How can a .css file be applied to a virtual page?
- WordPress blog posts template bug [closed]
- Checkboxes to automatically create pages when I activate a theme
- Share a folder with files
- Front Page post mirroring revisions to other pages, constantly updating itself
- Microsoft Security Essentials is blocking my WordPress website in IE11
- Cannot use old slug – it just 301s to site home page
- Display inner pages like posts.[Like how post excerpt works]
- include exception inside theme for empty widget area
- My pages disappeared from the list
- How to display time when page is created and edited
- Add text to the bottom of particular pages
- Access wordpress pages using a self signed shared ssl
- Page loads all pages of the image gallery with pagination
- Group Pages based on Parent in Admin Area
- How to exclude page in pages module
- get id custom tables on current page
- static page with buton that opens collect email form
- pagination does not work with query_posts. Help! [duplicate]
- Subpage Conditional
- Multiple WordPress Pages
- How to create an user defined page?
- I have over 3000 child pages – but I need a different main page
- How to enable automatic search results in WordPress
- How to make a conditional statement that checks if the page is the child of a certain page?
- Is it possible to keep the page title from actually appearing at the top of the page?
- Missing page on wordpress “Pages” dashboard [closed]