mikejeffs
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Css Liquid LayoutThe above url is the theme btw!
Forum: Themes and Templates
In reply to: One date for each post.Correct assumption ??
I’ve just looked at The Loop and I think I get it. Thanks for your help1
Forum: Fixing WordPress
In reply to: Sidebar.php & WP FormattingThanks for the reply.
I’ve tried completly clearing my cache to no avail.
The problem isn’t style based. The actual html for the iframe dissapears when it wordpress pulls the template files together to produce a page. There is no iframe tag in the wordpress generated html for any stylesheet to affect.
For example I edit sidebar.php on my pc, upload it via ftp. I can check via the “view” function on my ftp client that the file has correctly uploaded and the iframe code exists.
When I view the index of my site, no iframe is displayed AND when I view the source of the page there is no iframe code, just a blank line where it *should* be.
For the record, i’ve got the latest amazon code, but either way I should be able to write in whatever I like and WP not remove it when a page is generated.
I’m really confused as to what is causing this. It must sound like I’m talking rubbish but I’ve got pretty good experience of working with templates in various scripts and I’ve never come across anything like this issue.
BTW: I’m using the 1.51 beta version that is on the downloads page.
Forum: Fixing WordPress
In reply to: Sidebar.php & WP FormattingAnybody got any ideas on this? Can anyone test this is their install or test site?
I’ve tried the iframe without the closing iframe tag which someone suggested.
Just to clarify, when I add the above iframe code to my sidebar.php and upload it. I view in my browser, view source and where the iframe tag should be there is NOTHING.
thanks
Forum: Fixing WordPress
In reply to: Sidebar.php & WP FormattingThanks for the replies. I’d tried the iframe code before with the quotes, I removed to see if it would make a difference, sorry for the confusion. I enclose the contents of my sidebar.php file below. I’ve tested to see if it’s a browser cache issue or similar by adding “Testing” around the iframe tags, when I do this the word “testing” shows up, but when you view source there is no sign of the iframe at all!?!
<div id="sidebar">
<iframe src="https://rcm.amazon.com/e/cm?t=easymentalism-20&o=1&p=14&l=st1&mode=electronics&search=Mp3%20Player&fc1=&=1&lc1=<1=&f=ifr&bg1=&f=ifr" marginwidth="0" marginheight="0" width="160" height="600" border="0" frameborder="0" style="border:none;" scrolling="no"></iframe>- <?php include (TEMPLATEPATH . '/searchform.php'); ?>
- <h2><?php _e('Author'); ?></h2>
A little something about you, the author. Nothing lengthy, just an overview. -
<?php /* If this is a category archive */ if (is_category()) { ?>
You are currently browsing the archives for the <?php single_cat_title(''); ?> category.<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives
for <?php the_time('F, Y'); ?>.<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives
for the year <?php the_time('Y'); ?>.<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
You have searched the "><?php echo bloginfo('name'); ?> weblog archives
for '<?php echo wp_specialchars($s); ?>'. If you are unable to find anything in these search results, you can try one of these links.<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives.<?php } ?>
- <h2><?php _e('Archives'); ?></h2>
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
-->
<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
-
<?php wp_get_archives('type=monthly'); ?>
- <h2><?php _e('Categories'); ?></h2>
-
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
- <h2><?php _e('Links'); ?></h2>
-
<?php get_linksbyname('Links', '
- ', '
', '
', FALSE, 'name', TRUE); ?>- <h2><?php _e('Meta'); ?></h2>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- "><?php _e('Valid XHTML'); ?>
- XFN
- ">WordPress
<?php wp_meta(); ?>
<?php } ?>
<?php witty(); ?>
</div>Forum: Fixing WordPress
In reply to: Page Titles in Index PageThankyou – i’ve got it installed and now all by page titles are showing wonderfully!
Forum: Fixing WordPress
In reply to: Page Titles in Index PageThis is bound to be staring me in the face… but where can I find 1.51 aplha?
I’ve looked round the site, it says check the deb blog for beta information… but I can’t see any.
I’ve joined the dev mailing list, and have the url for the nightly builds… but wouldn’t 1.51 aplha be more stable? Where can I find it?
thanks
Forum: Fixing WordPress
In reply to: Page Titles in Index Pagethanks for your help!
Forum: Fixing WordPress
In reply to: Page Titles in Index PageJust to further clarify, no matter which parent page I put at the top, only the top one is displayed.
It’s as if wordpress doesn’t like the command being repeated???
Forum: Fixing WordPress
In reply to: Page Titles in Index PageOh I see… sorry I misunderstood.
There are children under those pages, they just aren’t being displayed on the front page.
I’ve got at least one child per parent page.
Forum: Fixing WordPress
In reply to: Page Titles in Index PageNo, only the “Game Basics” have give birth ??
Forum: Fixing WordPress
In reply to: Page Titles in Index PageI’m having a little trouble implementing this. I am using the basic code:
<?php wp_list_pages(‘child_of=19&title_li=<h2>’ . __(‘Game Basics’) . ‘</h2>’ ); ?>
This works fine, but when I try to do the same for a 2nd category or other additionaly categories eg:
<?php wp_list_pages(‘child_of=19&title_li=<h2>’ . __(‘Game Basics’) . ‘</h2>’ ); ?>
<?php wp_list_pages(‘child_of=16&title_li=<h2>’ . __(‘Poker Chips’) . ‘</h2>’ ); ?>
<?php wp_list_pages(‘child_of=17&title_li=<h2>’ . __(‘Poker Tables’) . ‘</h2>’ ); ?>
<?php wp_list_pages(‘child_of=18&title_li=<h2>’ . __(‘Cards’) . ‘</h2>’ ); ?>
<?php wp_list_pages(‘child_of=20&title_li=<h2>’ . __(‘Rules’) . ‘</h2>’ ); ?>
The first category is correctly displayed, but the others all return an error:
Warning: Invalid argument supplied for foreach() in /hsphere/local/home/magicsed/pokerresource.org/wp-includes/template-functions-post.php on line 368
Any ideas what I’m doing wrong?
thanksForum: Fixing WordPress
In reply to: Page Titles in Index PageThanks so much for your help all!
Mdawaffe – that sounds exactly what I need. Thanks for posting ??
Forum: Fixing WordPress
In reply to: Page Titles in Index PageSure, I figure that there must have to be some sort of hack or plugin to acheive this.
Unless…
If I were to use posts for my articles and split them into categories, is it possible to get a list of all the posts in a category to be displayed under the category name?
eg:
Category 1
========
Post from Cat1
Another from Cat1Category 2
========
Post from Cat2
Post from Cat2Forum: Fixing WordPress
In reply to: Page Titles in Index PageThanks for the reply.
I’ve seen the parent page stuff, it just doesn’t look how I want it. Instead of a parent page, I’d want just a plain title, just like the title “Pages” appears in the default index template i.e. plain bold text, no link.
The search continues ??