Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter vdeegan

    (@vdeegan)

    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

    Thread Starter vdeegan

    (@vdeegan)

    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

    Thread Starter vdeegan

    (@vdeegan)

    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

    Thread Starter vdeegan

    (@vdeegan)

    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

    Thread Starter vdeegan

    (@vdeegan)

    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

    Thread Starter vdeegan

    (@vdeegan)

    Thank you very much for your suggestions. I will certainly try them out.
    Vince

    Thread Starter vdeegan

    (@vdeegan)

    Hello?

    Thread Starter vdeegan

    (@vdeegan)

    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.

    Thread Starter vdeegan

    (@vdeegan)

    alchymyth,
    Sorry, I missed the part of your question regarding plugins. Yes, the software that I mentioned is in the form of a plugin.

    Thread Starter vdeegan

    (@vdeegan)

    alchymyth,
    Yes, I am using a sidebar widget for my ads. The widget is from a software product I bought.

    Thread Starter vdeegan

    (@vdeegan)

    Is this also typical of Amazon ads too? I have both on my page.

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