Brett N
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Header – flash on main page, static on all the others?Thanks Danmyaz. I’ll give it a go.
Forum: Plugins
In reply to: [NextGEN] Limiting images in gallery, but disabling pagination in viewer?Figured it out actually.
If you upgrade the lightbox plugin it works fine. I ended up using Slimbox-Plugin and it will capture the entire folder worth of images.
Forum: Themes and Templates
In reply to: Header – flash on main page, static on all the others?Here’s some more of the details.
code snippet…
<div class="art-Header"> <?php if(is_front_page()) { <object width="986px" height="450x"> <param name="movie" value="images/matt_header_swirl.swf"> <embed src="images/matt_header_swirl.swf" width="986px" height="450px" align="center"> </embed></object> } else { <object width="986px" height="450x"> <param name="movie" value="images/mr_header.jpg"> <embed src="images/mr_header.jpg" width="986px" height="450px" align="center"> </embed></object> } ?> </div>And I’m getting a “Parse error: syntax error, unexpected ‘<‘ in /home/mattrolo/public_html/mr_speaking/wp-content/themes/Matt_Roloff_2/header.php on line 41”
the < that it is referring to is the first <object> after the if(is_front_page()) call. now…the object codes work fine if I take the PHP out….do I need to encapsulate the object (image and flash) in some different means?
Forum: Themes and Templates
In reply to: Header – flash on main page, static on all the others?Yes Esmi…I do realize that….however the demons of wordpress moderation took my code block out. (used b-quote rather than code…oops.)
anyway…here’s what it is again.
<?php if (is_front_page()){ <div class="art-Header"> <object width="986px" height="450x"> <param name="movie" value="images/matt_header_swirl.swf"> <embed src="images/matt_header_swirl.swf" width="986px" height="450px" align="center"> </embed></object> </div> } else { <div class="art-Header"> <object width="986px" height="450x"> <param name="movie" value="images/matt_header.jpg"> <embed src="images/matt_header.jpg" width="986px" height="450px" align="center"> </embed></object> </div> } ?>Forum: Themes and Templates
In reply to: Header – flash on main page, static on all the others?oops…not awesome. Didn’t work after all.
I get a parse error, but…maybe I’m doing this wrong…
This is what I inserted into my HEADER.PHP…do I actually need to make a copy of the header file for the secondary pages or no?
[Code moderated as per the Forum Rules. Please use the pastebin]
I also tried putting the <?php ?> string OUTSIDE of the DIV and that gave me the same parse error
any ideas?
Forum: Plugins
In reply to: Iframe only showing 60% of original site?Yes, I do realize that….however….
usually when you use an IFRAME (At least in html, xhtml and html5 in my experience) it resizes the content to fit the frame.
ugh….oh well.
Forum: Plugins
In reply to: How do you get plug-ins onto your site?Hey Corinna, another option is to look at Mailchimp. I use their service quite often and they have a really good “ad me to your list” widget for the sidebar.
Example here – http://www.portlandwomenshow.com/ about 2/3rd the way down the sidebar.
And it’s all free.
Also, depending what version of wordpress you are using, you don’t need to even worry about uploading plugins. Simply go to the plugins section of your admin area, and click “Add new” It brings up a browser / search page and you can search, install and activate right through the admin panel. Much easier than uploading, unzipping, etc. and it self installs the plugins and widgets in the correct fashion.
For mailchimp if you go that route
1 – Sign up for a mailchimp account at mailchimp.com
2 – setup a mailing list in mailchimp
3 – go into your wordpress site and search / install the mailchimp widget.
4 – back in mailchimp, you will need to get the “key” for your mailchimp account list. Should be in the advanced section
5 – back over in wordpress, add the key, hit save, and add the widget to your sidebar. Done.Forum: Themes and Templates
In reply to: Removing "blog" posts from page?oops.. yeah, helps to hit the “save” button.
got it figured out.
if anyone else is wondering, find your index.php file and remove these lines…
<!– Begin Post –>
<div class=”leading”>
<div <?php post_class(); ?> id=”post-<?php the_ID(); ?>”><?php if ($option[‘blog_title’] == ‘true’) { ?>
<!– Begin Title –>
<div class=”article-rel-wrapper”>
<?php if ($option[‘blog_title_link’] == ‘true’) { ?>
<h2 class=”contentheading”>
” title=”<?php the_title(); ?>”><?php the_title(); ?>
</h2><?php } else { ?>
<h2 class=”contentheading”>
<?php the_title(); ?>
</h2><?php } ?>
</div>
<!– End Title –>
<?php } ?>
<?php if ($option[‘blog_meta’] == ‘true’) { ?>
<!– Begin Meta –>
<div class=”article-info-surround”>
<?php if ($option[‘blog_author’] == ‘true’) { ?>
<!– Begin Author –>
<span class=”createdby”><?php _re(‘Written by’); ?> <?php the_author(); ?></span>
<!– End Author –>
<?php } ?>
<?php if ($option[‘blog_date’] == ‘true’) { ?>
<!– Begin Date & Time –>
<span class=”createdate”><?php the_time(‘l, d F Y’); ?> <?php the_time(‘H:i’); ?></span>
<!– End Date & Time –>
<?php } ?>
<?php if ($option[‘blog_comments’] == ‘true’) { ?>
<!– Begin Date & Time –>
<span class=”commentcount”><?php comments_number(_r(‘No Comments’), _r(‘1 Comment’), _r(‘% Comments’)); ?></span>
<!– End Date & Time –>
<?php } ?>
</div>
<!– End Meta –>
<?php } ?>
<div class=”clr”></div>
</div>
</div>
<span class=”leading_separator”> </span><!– End Post –>