I am trying to make a theme more appropriate for my usage as a website, but I can't seem to figure out some edits. In place of this portion on the page. <?php if ($corporatemag->option['featuredCat'] != '' && $corporatemag->option['featuredCat'] != 'Select a category:' && $corporatemag->option['featuredNum'] != '0' && $corporatemag->option['featuredNum'] !=''): $glidecat = $corporatemag->option['featuredCat']; $glidecount = $corporatemag->option['featuredNum']; $my_query = new WP_Query('category_name= '. $glidecat .'&showposts= '. $glidecount); if ($my_query->have_posts()): ?> <script type="text/javascript"> featuredcontentglider.init({ gliderid: "featured-posts", contentclass: "post", togglerid: "togglebox", remotecontent: "", selected: 1, persiststate: true, speed: 300, direction: "leftright", autorotate: true, autorotateconfig: [10000, 9999] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping] }) </script> <div id="featured-posts-wrapper"> <div id="featured-posts" class="glidecontentwrapper"> <?php while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?> <div class="post"> <h2 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry"> <p><?php the_content_rss('', TRUE, '', 140); ?></p> <a class="more-link" href="<?php the_permalink() ?>" title="Read More <?php the_title(); ?>"><span>Read More...</span></a> </div> </div> <?php endwhile; ?> </div> <div id="togglebox" class="glidecontenttoggler"> <a href="#" class="prev"></a> <a href="#" class="next"></a> <div class="clear"></div> </div> <div class="clear"></div> </div><!-- /featured-posts-wrapper --> <?php endif; endif; ?> Code (markup): I want this instead <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="220" id="mymoviename"> <param name="movie" value="random.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#000000" /> <embed src="random.swf" quality="high" bgcolor="#000000" width="640" height="220" name="mymoviename" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> </object> Code (markup): Any ideas on how to do it?
Open up your Admin CP (/wp-admin) and then look for the "Theme section" and select "Editor" . Now select the page you want to edit and change the code.
If you are going to make a lot of edits you really should learn about child themes. That way when you do an update you won't lose all your hard work...trust me I know