fthomas
Forum Replies Created
-
Forum: Plugins
In reply to: [Event List] Modifications For A ClientSkip it. I’ve found another solution/plugin to the problem.
Forum: Fixing WordPress
In reply to: OT: Easy Video Player 2Wow Paula, scarey when the folks from evp don’t respond. Don’t let them fool you. It works poorly with wordpress. If you can hack through the html code, you can get it working, but isn’t wordpress supposed to make your life easier?
Frank
Forum: Fixing WordPress
In reply to: Adding posts to wp_list_pagesOh kay!
I figured it out!
For someone else who looks this up in the future (probably me in 6 months, lol), here’s the solution:
Have to make the query temporary or every other query will use the results messing up the page:
<li class="pagenav"><ul> <?php wp_list_pages('title_li='); ?> <?php $temporary = $wp_query; // set the defined new query ?> <?php query_posts('showposts=10'); while (have_posts()) : the_post(); ?> <li> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> </li> <?php endwhile; $wp_query = $temporary; //reset it back to normal ?> </ul></li>
I found a good explanation here: https://brassblogs.com/cms-platforms/wordpress/creating-wordpress-themes-query_posts
Thanks!
Frank
Forum: Fixing WordPress
In reply to: Adding posts to wp_list_pagesThanks for that PBP,
But when I have the ‘showposts=10’ in the query_posts, it will also show the post titles right in the content area as well. But if I remove the ‘showposts’ section, it scrambles the menu again.
here’s a snippit of code from the page:
<div id="centeredmenu"> <!-- You will remove or add page numbers below --> <li class="pagenav"><ul> <?php wp_list_pages('title_li='); ?> /* <?php query_posts('showposts=10'); while (have_posts()) : the_post(); ?> <li> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> </li> <?php endwhile; ?>*/ </ul></li> </div> </div> <!-- end of 'top_nav' --> </div> <!-- end #header --> <div id="content"> <div id="sidebar"> <ul> <li><a href="/"><?php bloginfo('name'); ?></a></li> <li><a href="/about/">About Us</a></li> <li><a href="/contact/">Contact Us</a></li> <li><a href="/privacy-policy/">Privacy Policy</a></li> </ul> <div id="linkAds"> <?php if (function_exists(adsense_deluxe_ads)) adsense_deluxe_ads('link_ads'); ?> </div> </div> <!-- end #sidebar --> <div id="blogcontent"> <p align="center"><img src="<?php bloginfo('url') ?>/wp-content/uploads/images-1.jpg" alt="<?php the_title(); ?>" name="<?php the_title(); ?>" width="130" height="105" title="<?php the_title(); ?>" id="Image1" /><img src="<?php bloginfo('url') ?>/wp-content/uploads/images-2.jpg" alt="<?php the_title(); ?>" name="<?php the_title(); ?>" width="130" height="105" title="<?php the_title(); ?>" id="Image2" /><img src="<?php bloginfo('url') ?>/wp-content/uploads/images-3.jpg" alt="<?php the_title(); ?>" name="<?php the_title(); ?>" width="130" height="105" title="<?php the_title(); ?>" id="Image3" /><img src="<?php bloginfo('url') ?>/wp-content/uploads/images-4.jpg" alt="<?php the_title(); ?>" name="<?php the_title(); ?>" width="130" height="105" title="<?php the_title(); ?>" id="Image4" /></p> <div id="post"> <div class="entry"> <!--remove this text and replace it with the article contents--> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> <!--End of 'entry'--> </div> <!-- End of 'post' -->
Forum: Fixing WordPress
In reply to: Getting a piece of Javascript runningHmmm. The great unanswered posts forum, www.remarpro.com.
Forum: Fixing WordPress
In reply to: Getting a piece of Javascript runninganyone?
Forum: Fixing WordPress
In reply to: 2.5 theme-editor.php – http 500 errorIgnore my request. Stupid plugin problems.
Frank
Forum: Fixing WordPress
In reply to: 2.5 theme-editor.php – http 500 errorseems that this is still an issue. I’ve got a site that has the same, same. And it has the same issues with all the loaded themes.
Frank
Forum: Fixing WordPress
In reply to: Duplicate PostsSome of my sites are getting a little bigger and I do put plr articles into some of my domains. So, I do make replicates at times.
Forum: Fixing WordPress
In reply to: Duplicate PostsAnyone have any idea how to combat this problem? I’m thinking of some sort of algorithm that would create a “checksum” on the title and content to make sure that there are no two articles that are identical.
???
Does anyone think that this is possible?
Frank.
Forum: Fixing WordPress
In reply to: unable to edit top pageMay not be a fix, but check on your blog under the “settings” tab and look on the general page under “wordpress address” and “blog address” and make sure they were not changed by the plugin.
Frank.
Forum: Fixing WordPress
In reply to: Youtube Videos Are Not Whowing In My WordPress Site.Not to have you try yet another plugin, the plugin wpvideo seems to be getting some good reviews. I’ve not used it myself, but I believe that it could be your answer…. Tell us if so.
Frank.
Forum: Plugins
In reply to: Global Translator Help Please!!If there was a plug-in that did this translation, stored it in mysql and also allowed unique page addresses for each translation, then it would be perfect in my book.
Boy oh boy, can I agree with that! A translator that creates a proper silo structure with /en/ /fr/ etc, permalinks. Only retranslating the post when it is modified and it is NOT cached but actually part of the wordpress blog.
Makes sense to me.
On a sidenote, has this issue mentioned here been corrected with this plugin: https://www.toptut.com/2008/06/30/global-translation-plug-in-for-wordpress-think-twice-before-activating/
Frank.
Forum: Fixing WordPress
In reply to: Using wp-crontrol to run a php fileThanks Edward,
Much appreciated. I will give it a wack. Do you think that there is any way to not use a absolute path to the file and instead use a relative path or perhaps use a variable to point to the blog url and make it so I can push it to multiple blogs?
Also, another question, do you know how some of the plugins out there ‘humanize’ the cron timing. In other words, it will choose a random time once per day between say 9am and 4pm to run the cron?
Thanks!
Frank.
PS, I’ll give that script a try right away!