Thanks for any assistance..
Here is my code:
<?php get_header();?>
<div id=”main”>
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class=”title”><font color=”#800000″>Wow, you really drew that?</font> – Welcome to The Wounded Artist Project</h2>
<div class=”MsoNormal”><p>Welcome to The Wounded Artist Project website.
We are a Michigan-based 501(c)(3) nonprofit that is sending art kits to war wounded recovering in
military hospitals.
We believe The Project art kits will provide a welcome diversion from boredom for wounded recovering from traumatic wounds, burns, and amputations when they are in downtime from regular therapy sessions. And while art is a recognized tool for helping people deal with trauma, we want our kit recipients to also use our kits and think about their futures. Somewhere, sometime, someone will look over the shoulder of one our artists and ask, “Wow, you really drew that?” Imagine how encouraging that will be.
We want to build three stages of kits: Beginner, Intermediate and Advanced. We would like our artists to send us samples of their work to move into the next stage which will be more to their interests.
<font color=”#800000″>Check out our art instruction and other videos on YouTube:</font>
https://www.youtube.com/user/WoundedArtistProject#p/u
To Our Kit Recipients:
First, you should always keep in mind that you are drawing in and developing your own styles. Don’t get discouraged if your drawings don’t look exactly like the subject you chose to draw. And don’t let anyone trash-talk your work either. Stay positive and keep drawing.
Send us samples of your work to post on this website.
Second, we believe the kits will keep you involved and encouraged to heal and develop art skills that could be useful elsewhere. We will suggest that with some practice and hard work you may someday even pick a college major and/or go to work using these new art skills as illustrators, designers, engineers, cartoonists, or art teachers. Some of you may like the perspective drawing so much you decide to go to school to become architects; some may even become so interested in drawing the human body that they decide to study human physiology and go to medical school to become doctors. I would like to think if you are self-conscious about your wounds that you may become successful, home-based, freelance artists. You never know, someone may pair up their art skills with a creative writer and create a bestselling graphic novel.
Third, when you’re healed up and back in the swing of things, be sure to reach back and help another vet or someone who’s having a tough time with life. Volunteer.
Thanks,
Ray Bakerjian, Executive Director
Jeff Aleman, Director
Ken Massey, Director
Doug Waite, Director
</div>
<?php endwhile; else: ?>
<?php endif; ?>
</div>
<?php get_sidebar();?>
<?php get_footer();?>
</div>
Main Page : https://i-learningacademy.com/
Subpages : https://i-learningacademy.com/about-us/about-us-html
https://i-learningacademy.com/training-modules/develop-your-brilliant-team/
https://i-learningacademy.com/virtual-learning/
https://i-learningacademy.com/contact-us/
I saw spam in the ‘Main Index Template’ (index.php) section on “Edit Themes” for the theme Yamidoo PRO Magazine.
So I deleted the spam, but I think I deleted something I shouldn’t have and now the main page of my site looks completely messed up.
Can someone please tell me what code I have to insert.
The code below is from the top and where it reads ( I deleted this section) is where I deleted the coding.
Thank you so much everyone!
[ Moderator note: please wrap code or markup snippets in backticks or use the code button. ]
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
$dateformat = get_option('date_format');
$timeformat = get_option('time_format');
?>
( I deleted this section)( I deleted this section)( I deleted this section)
<?php if ( $paged < 2) { ?>
<?php
if ($wpzoom_slideshow_show == 'Yes')
{
include(TEMPLATEPATH . '/featured.php'); // calling Featured Slideshow
}
]]>I am attempting to build a website for the first time – it is almost there but I need a helping hand on a few small issues please.
I am trying to get the following to JUST display the latest REPORTS – not all the latest posts.
Thanks in advance,
Andy
<div class="container" id="recent-posts">
<div class="four columns leftbox">
<h2>reports</h2>
<p>These are the latest reports</p>
</div>
<?php $query = new WP_Query( array( 'posts_per_page' =>'3' ) );
if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>
<div class="four columns rightbox">
<?php $image_attr = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'index_wide'); ?>
<a href="<?php the_permalink() ?>"> <img src="<?php echo $image_attr[0]; ?>" class="index-wideimg scale-with-grid"></a>
<div class="panelpost">
<h2><a href="<?php the_permalink() ?>"> <?php the_title(); ?> </a></h2>
<span class="paneldate"><?php the_time('l, n F Y'); ?></span>
</div>
</div>
<?php endwhile; endif; ?>
</div>
]]>I have a blog called gridviper.com I post videos that I (we) think are interesting. Anyway, I’d like to have a few post links underneath the 5 normal posts I have set up on the front page. These links would take the user to posts that are no longer on the front page. The thought is that I could give the users access to more posts with out increasing load time. As you can guess having a page with a bunch of YouTube embeds really slows load time.
How could I do this?
Is there a short code that could be inserted into the main index template? I’m guessing that’s where the code would go.
I hope I’m making sense. Thanks in advance for your help.
]]>Thank you.
Isabelle
The site I’m working on is built entirely in WP. The site’s blog page is simply running off the main index template, through a blank page, displaying a single category with a simple sidebar. Everything works on all the pages except the blog page.
On that one page, the header info is randomly transposing into the top of the body. There is no pattern of occurrence – sometimes it functions correctly, sometimes not. This is the spot:
https://www.quinnandco.com/newer/index.php/blog/
The inclusion of ‘index.php’ in that url is a hack to make the site work on Concentric, the world’s loveliest host. But that’s only in htaccess, so it should not effect this.
The entire header up to that point is hard coded; no php commands (there was one for doc lang, but I removed it and there was no change). Those random colons that are in the title and first meta don’t exist – they’re written as open carats, just as they should be. The template it’s running with is being used on several other pages, none of which are getting this error.
Anyone know how to remove a poltergeist?
]]>