add
to your loop and replace it with the the_permalink() function something like this:
<?php
// Include WordPress
define('WP_USE_THEMES', false);
require('./blog/wp-load.php');
?>
<div>
<p style="font-size:18px;color:white;font-wieght:700;">Recently Asked Questions</p>
<?php query_posts('showposts=3'); ?>
<?php while (have_posts()): the_post(); ?>
<div id="faq">
<a href="https://wordpress.stackexchange.com/questions/7919/<?php the_permalink() ?>"><?php the_title() ?></a><br />
<?php the_time('F jS, Y') ?>
<?php the_excerpt(); ?>
<?php comments_popup_link(); ?>
<?php comments_template( '', true ); ?>
<br />
</div>
<?php endwhile; ?>
</div>
Related Posts:
- How to remove comment link title attribute?
- WP_Comment_Query – Get comments and answers separately
- Modify comments_popup_link output
- How to add custom css file in theme?
- get_template_part vs action hooks in themes
- Do I actually need to link my theme’s style.css in the theme files
- How to remove search bar from a wordpress theme? [closed]
- Get url of thumbnail from the media uploader
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Should I use set_transient or update_option?
- Theme file for all pages that are a child of a specific page
- Template for individual post designs
- Best practice way to implement custom sections into a WordPress theme
- How to show next Post Thumbnail image in WordPress using current post id
- Pushing updates to your premium theme
- Where can I find a good reviewed collection of Twenty Ten child themes?
- Front End Post Submit Form
- How do I remove RSS feeds from themes?
- CSS in child theme not overriding the parent theme [closed]
- Separated Comment from Post
- index.php is not loaded for single posts
- WordPress website loads but is not displayed until page scrolled
- Create a theme by combining a parent and a child theme
- Theme Customizer not loading
- How to add oEmbed support to my theme?
- Is it a good idea to make whole theme widgetized?
- How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?
- Where is definied the theme location for the main menu in a WordPress template?
- If I build a custom theme, will it update?
- Recommended tools for Theme Development with SASS [closed]
- What tags should be used for themes to show the type of layout?
- How to disable automatic colors in the Twenty Twenty theme?
- What are non-printable characters doing in my theme?
- Gutenberg – editor-font-sizes in functions not working
- Cannot figure out how to overwrite files in child theme
- How to change i18n/l10n of #reply-title? (Old title: Comment reply link not working)
- Customize the previous_post_link output
- How to use get_template_part instead of include_once?
- How can I let templates choose which stylesheets are enqueued?
- wp-cli: For development, how can I activate a theme that is on the local disk but not zipped?
- Lightweight framework [closed]
- Single Page Design, Storing in Theme Options
- How to edit my theme for full width?
- loading blank white screen of slide
- Child Theme’s style.css not loading in mobile browser
- Echo all category names, apart from one
- How to Find the Page the Front Page is Using?
- Customizer – loading settings/controls/sections/panels based on a id/page id
- How do I get the trackback count of a post in wordpress without writing an SQL query?
- Overrite parent functions using child functions
- Does code in function.php differ from theme to theme
- 3 Level Deep Navigation Menu Not Showing All Levels
- How can I change the theme of different posts using a plugin?
- Theme not showing up
- Change image size depending on page
- WordPress page/blog incorporated into static website
- Random white space before doctype
- How to add menù section to my WordPress template?
- Theme Development -> Specific Homepage
- Why still output /wp-content/themes/twentynineteen?
- get_header action not working
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- How add built-in textarea in theme development?
- Remove h1 from 2015 theme
- WordPress pulling in random page themes
- Some doubts about WordPress handle the horizontal main menu visualization
- Filter didn’t work on content class (hybrid_post_attributes)
- Can’t change theme name
- How to remove permalinks links presents in each page of my site?
- Is there a way to serve different resolution images to different devices?
- How to make a function occurs for one time?
- How do I restructure the comment HTML layout?
- Trying to link to a php template file but its blank
- Theme author.php transfer
- Theme: dropdown hover menu not showing up in IE/Edge
- Problem with pagination link (error 404)
- how to ensure responsiveness in wp themes? [closed]
- home is not working in wordpreess
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Local theme changes upload on server but theme changes not showing
- WordPress Custom font not found
- WordPress uploads do not show up and I see the white screen of death in some cases
- Any way to permanently translate themes?
- New created Theme leads to malfunctioning Xampp Apache –> functions.php is cause
- WordPress Blog Page displaying nothing
- Woocommerce Theme Reviews / Comments
- Primary Menu Showing All Pages With No Sub-Nav
- Magnific Popup – Add Caption to Images
- Why do WordPress developers use so many opening and closing PHP tags when developing themes? [duplicate]
- Safe way to echo wp_trim_words
- Theme Development : License help
- How can I demonstrate themes well?
- How to update my own theme?
- WordPress custom jquery not found
- Custom link color or stylesheets
- Showcase your wordpress themes [closed]
- How to remove proudly created by WordPress in theme?
- Roll my own theme or customize an existing one [closed]
- Why do some sites show themes/”themename” as the only theme?
- What is the point of using the front-page.php template? [closed]