Title: vdeegan's Replies | WordPress.org

---

# vdeegan

  [  ](https://wordpress.org/support/users/vdeegan/)

 *   [Profile](https://wordpress.org/support/users/vdeegan/)
 *   [Topics Started](https://wordpress.org/support/users/vdeegan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/vdeegan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/vdeegan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/vdeegan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/vdeegan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/vdeegan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to retrieve posts in custom loop](https://wordpress.org/support/topic/unable-to-retrieve-posts-in-custom-loop/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/unable-to-retrieve-posts-in-custom-loop/#post-4534606)
 * >  If you posted the complete code above, you probably need a query_posts() call
   > before the if have_posts(), something like this:
   > <?php query_posts(‘posts_per_page=-1’); ?>
   >  <?php if (have_posts()) { while(
   > have_posts()) { the_post(); ?>
 * vtxyzzy,
    Your a genius! It’s now accessing my posts and getting me all the data
   I’m looking for. Thank you so much for your help. Take care. Vince
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to retrieve posts in custom loop](https://wordpress.org/support/topic/unable-to-retrieve-posts-in-custom-loop/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/unable-to-retrieve-posts-in-custom-loop/#post-4534604)
 * Sorry for not mentioning this in the beginning. The method I’m using for invoking
   my PHP code is by making it the template file for a private page I added to my
   blog. When I access that page, the php code starts running. Also, the debugger
   I’m using is FirePHP (on my Firefox browser).
    Vince
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to retrieve posts in custom loop](https://wordpress.org/support/topic/unable-to-retrieve-posts-in-custom-loop/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/unable-to-retrieve-posts-in-custom-loop/#post-4534603)
 * > Stick to the usual if (have_posts()): while (have_posts()): the_post(); construct.
 * Thank you for the response. I brought it back to the original way. But, still,
   I’m not getting any posts. Is there some preliminary steps I need to take in 
   order to establish communication with the dataase? Here’s the revised code:
 *     ```
       <?php if (have_posts()) { while (have_posts()) { the_post(); ?>
   
          <?php 
   
       	// If not done already, get the author name of the YT post on
               // YT itself, add author name to post content, and add
               // "author" to post tags.
   
       	$content_string = get_the_content();
       	$postID = get_the_ID();
       	$post_tags_array = wp_get_post_tags($postID);
       	$auth_tag_string = "author";
   
               ....
               ....
               .... and so on					
   
            } //while
            } //if
   
            ?>
       ```
   
 * Thanks again for any further help.
    Vince
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Strange behavior in a WP site directory](https://wordpress.org/support/topic/strange-behavior-in-a-wp-site-directory/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/strange-behavior-in-a-wp-site-directory/#post-4532733)
 * Thank you Clayton for clearing me up.
    Let me ask a related question. My purpose
   for looking through my directories was to find the actual content displayed on
   my WP site so that I can copy it down to my computer for localhost development
   and debugging. I.e. I want to find where all the posts are, and where all the
   comments are, etc. So, far I haven’t been able to find any directories with much
   in them. Do you know which directories the posts and comments are in? Thanks 
   for any further help. Vince
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [How do you set up localhost for development?](https://wordpress.org/support/topic/how-do-you-set-up-localhost-for-development/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/how-do-you-set-up-localhost-for-development/#post-4530624)
 * Thank you Esmi for your answer.
    That actually raises a closely related question.
   When you do your online development, what kind of PHP debugger do you use? Are
   you able to install a stepping debugger on the host’s server, or do you use a
   more simplistic debugging approach? Thanks again. Vince
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Is there a way to display only first few lines of a post?](https://wordpress.org/support/topic/is-there-a-way-to-display-only-first-few-lines-of-a-post/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/is-there-a-way-to-display-only-first-few-lines-of-a-post/#post-3471817)
 * Thank you very much for your suggestions. I will certainly try them out.
    Vince
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to display partial posts](https://wordpress.org/support/topic/how-to-display-partial-posts/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/how-to-display-partial-posts/#post-3382256)
 * Hello?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Exit window going nuts](https://wordpress.org/support/topic/exit-window-going-nuts/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/exit-window-going-nuts/#post-3246409)
 * Some additional info:
    The exit window I keep referring to is one of the optional
   features contained in a plug-in that I’m using. Another thing is that the problem
   occurs while I am signed into my site and test viewing it. Whenever, I test view
   any of my subdomains, and then decide to go back into my dashboard, the exit 
   prompt pops up, as expected. Then I click the Yes key, as expected. But, after
   that it’s supposed to release control and let me go back into my dashboard. It
   doesn’t. It keeps control and prompts me again, indefinitely. Now, if I try to
   leave the current page *other than* clicking on Dashboard (for example, by merely
   hitting the back key), it lets me do that. It just doesn’t let me go back into
   my dashboard. Sorry for the redundant explanations. See, this never happened 
   earlier…when my site was first created everything was working perfectly, for 
   a long time…always letting me go back to my dashboard whenever I wanted. This
   only started happening recently and I have no clue on what caused it to start
   happening. Please give me any ideas on what might have happened, or how to correct
   it. Thank you.
 * P.S. Of course, it would be easier to just let you test my site and go into the
   wp-admin part of it so you could see what’s happening. But, that’s a secure area
   and I’d hate to give out my password, unless anyone can let me know how to set
   up a second, temporary password for this purpose.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Sidebar Ads not appearing unless in single post mode](https://wordpress.org/support/topic/sidebar-ads-not-appearing-unless-in-single-post-mode/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/sidebar-ads-not-appearing-unless-in-single-post-mode/#post-3200577)
 * alchymyth,
    Sorry, I missed the part of your question regarding plugins. Yes,
   the software that I mentioned is in the form of a plugin.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Sidebar Ads not appearing unless in single post mode](https://wordpress.org/support/topic/sidebar-ads-not-appearing-unless-in-single-post-mode/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/sidebar-ads-not-appearing-unless-in-single-post-mode/#post-3200576)
 * alchymyth,
    Yes, I am using a sidebar widget for my ads. The widget is from a
   software product I bought.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Sidebar Ads not appearing unless in single post mode](https://wordpress.org/support/topic/sidebar-ads-not-appearing-unless-in-single-post-mode/)
 *  Thread Starter [vdeegan](https://wordpress.org/support/users/vdeegan/)
 * (@vdeegan)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/sidebar-ads-not-appearing-unless-in-single-post-mode/#post-3200570)
 * Is this also typical of Amazon ads too? I have both on my page.

Viewing 11 replies - 1 through 11 (of 11 total)