Forum Replies Created

Viewing 15 replies - 1 through 15 (of 64 total)
  • Thread Starter miloandrew

    (@miloandrew)

    Thanks for the info! I did try unchecking the multi-part upload – it just threw an error with it checked. So, the results pasted above were the result from the upload with multipart disabled.

    What should the Maximum execution time be set to? I saw some prior posts that led me to believe that a value of 30 was best, and that is what was there by default.

    The dropbox upload became monitored within just a few seconds, but that never happened for the S3 upload, just the errors pasted above.

    Thank you again for the support Daniel!

    Cheers,
    Andy

    Thread Starter miloandrew

    (@miloandrew)

    Looks like it is a full restart. It timed out after 5 tries.

    The Dropbox portion seems smarter, as it can tell that the upload is running. Is there a difference in S3 capability that makes it not possible to monitor the upload status?

    Thread Starter miloandrew

    (@miloandrew)

    Hmm… I installed the plugin and looks like you might already have done so! ?? I was going based on the description (it didn’t mention GCS at all…) That is great news! Thank you!

    Thread Starter miloandrew

    (@miloandrew)

    Actually, we removed all other plugins and found a set that seems to work with JetPack. If we run into this again I’ll look at the JS errors as you’ve advised.

    Thank you so much for the help!

    Cheers,
    Andy

    Thread Starter miloandrew

    (@miloandrew)

    Sure thing!

    Its https://www.animationinsider.com

    We installed the latest update and still had the problem, so we have again uninstalled it.

    Thank you so much for the reply! Sorry for the delayed response!

    Kindest regards,
    Andy

    miloandrew

    (@miloandrew)

    Just FYI – Mercime – thanks for the kind words – I wrote that tutorial and have used it many times.

    It seems though, that now the WordPress editor won’t mess up a direct embed of the slideshows.

    Just make sure that you switch to HTML view before you PASTE. That way, the code is put into the post properly, rather than being pasted in as a series of &‘s, etc.

    Don’t hesitate to drop a note if you have any other questions.

    Additionally, I’ve done a small write up on a bunch of the Picasa plugins that are available here.

    https://blog.miloco.com/2008/11/more-picasa-goodness.html

    Enjoy!

    -A

    Forum: Plugins
    In reply to: single post by author
    miloandrew

    (@miloandrew)

    You can get more info on custom loops here:

    https://codex.www.ads-software.com/The_Loop

    Forum: Plugins
    In reply to: single post by author
    miloandrew

    (@miloandrew)

    you can do it a few ways.

    First is probably just to have a custom index.php.

    Most usually have something like this:

    <?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    <!-- do some stuff for post formatting, comments, etc -->
    
    		<?php endwhile; ?>
    
    <?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.
    
    	<?php endif; ?>

    what you need to do to take out the “while” loop. So change to something like:

    <?php if (have_posts()) : ?>
    
    	<?php the_post(); ?>
    
    <!-- do some stuff for post formatting, comments, etc -->
    
    <?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.
    
    	<?php endif; ?>

    That should basically make only 1 post on the front page.

    Another way to do it is to do something in a custom loop outside of the main loop – something like this:

    <?php $my_query = new WP_Query('showposts=1'); ?>
    
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
      <!-- Do your formatting... -->
    <?php endwhile; ?>

    Either way would work.

    miloandrew

    (@miloandrew)

    You actually don’t need a plugin.

    You need to use custom page templates.

    Basically, you take the basic single.php page and create training.php, nutrition.php, etc. and in that page, you list the custom links that you want to show up on the page.

    Then, when you actually create the WordPress page (admin -> write -> Page) you select the appropriate php file that you created as the page template as an option on that wordpress page. The page template is the third option from the bottom on the edit screen.

    Hope that helps!

    -A

    Hmm… Well, that is a much bigger question. ?? What template are you using? Likely, you need to edit the index.php file. To do this, you can do it through wordpress itself with the Theme editor (Design >> Theme Editor >> index.php)

    But, your template is likely different than the example above. You need to find whatever are is right above the section that is similar to this:

    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    I would highly recommend that you copy and paste the entire file out to notepad, etc. so that you can always revert back to your unedited page, just in case you make mistakes.

    Since I don’t know your level of proficiency, I’m hesitant to tell you to start editing things. ?? If you aren’t careful, you can mess up your template.

    Good luck!

    -A

    Actually, upon thinking of it, it is probably the widget BEFORE the apple widget that is messing it up. I would try that one next… try taking out all text widgets, or doing it one by one to see who is the culprit. I’ll go out on a limb and say that it HAS to be one of them.

    Does it do it with all widgets, or only the ones you are using?

    Looking at the page, for some reason the widget isn’t getting put into your sidebar DIV, or even your content DIV.

    I’m assuming your apple logo is a text widget and you copied HTML into it? Chances are the HTML you have there is breaking the layout.

    Try deleting the apple one and adding in a new Out of the box widget. I’d imagine that it works fine.

    If so, check the HTML in your apple widget.

    -A

    You need to add it to your template. That way you can add the call one time, and WordPress will iterate the call so that you get it in between each of your posts.

    So, for example, in the classic template it would look like this out of the box:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <?php the_date('','<h2>','</h2>'); ?>
    
    <div class="post" id="post-<?php the_ID(); ?>">
    	 <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    	<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    
    	<div class="storycontent">
    		<?php the_content(__('(more...)')); ?>
    	</div>
    
    	<div class="feedback">
                <?php wp_link_pages(); ?>
                <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    	</div>
    
    </div>
    
    <?php comments_template(); // Get wp-comments.php template ?>
    
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    And like this if you added your calls:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <?php the_date('','<h2>','</h2>'); ?>
    
    <div class="post" id="post-<?php the_ID(); ?>">
    	 <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    	<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    
    	<div class="storycontent">
    		<?php the_content(__('(more...)')); ?>
    	</div>
    
    	<div class="feedback">
                <?php wp_link_pages(); ?>
                <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    	</div>
    
    </div>
    
    <?php comments_template(); // Get wp-comments.php template ?>
    
    <!-- YOUR CUSTOM AD PER POST -->
    
    <div class="my_ads">
    
    <!-- do whatever you need to do to make your ad here -->
    
    </div>
    
    <!-- END OF YOUR ADS -->
    
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    Hope that helps!

    Cheers,
    A

    Hmm.. OK – try just renaming comments.php to something else, like NOcomments.php

    ?? I think that will work.

    -A

    Excellent! You are most welcome…

Viewing 15 replies - 1 through 15 (of 64 total)