Forum Replies Created

Viewing 15 replies - 16 through 30 (of 47 total)
  • Encouraging enough for me!

    I’m bumping this topic item up: I am about to embark on the same issue as well.

    My main concern is preparing for more pageview hits. I know that WP-Cache helps to keeps MySQL calls down, but I imagine that there must be limits.

    I want to know if there have been any tests that have pushed WP to the threshold, and if so, is there an article on this? I think that would help us considerably to measure whether or not WP is the right method for us.

    I do actually need to turn off RSS feeds. I have a client who can not legally distribute their content until the user has been signed in.

    WordPress is still the ideal system for my client, but I’m very hesitant to use it if I can’t control the syndication comletely. Setting the syndication to 1 post and a summary listing still leaves my client liable.

    I have not been able to find a method or plugin to be able to completely disable this. Will simply deleteing ‘feed.php’ and all the accompanying feed php files harm the install in anyway?

    Thread Starter marc0047

    (@marc0047)

    Eureka! I found a working solution:

    https://www.ads-software.com/support/topic/97147

    Being specific about a page call seems to work better than trying to run a filtered query routine.

    Thread Starter marc0047

    (@marc0047)

    Thanks, I’ve tried this method out, and I’m still running into the problems.

    Whether or not I’m doing this efficiently or not, I’d still like to know if the following is severely flawed, because it looks like a legitimate routine:

    1. query_posts(‘page_id=20’)
    2. while (have_posts()) : the_post()
    3. output content

    then

    4. rewind_posts()
    5. query_posts(‘order=DESC’)
    6. while (have_posts()) : the_post()
    7. output content

    This routine still outputs the right page I want in steps 1-3.

    However, steps 4-7 always outputs the same posts when they are paged. For example, I have 10 posts in the database marked Post A to Post J, but only posts A through E keep showing up on each paged output.

    Thread Starter marc0047

    (@marc0047)

    I am making a homepage:

    + There is a Page that I created called ‘homepage’ which I’d like to be able to edit simple content directly from the wp-admin. I also want this content to show up on the actual home.php homepage.

    + I also want to show the most recent posts.

    Is there a better method for executing this objective?

    marc0047

    (@marc0047)

    Absolutely!

    https://poketo.com/blog/feed/

    I just realized that the images are showing up in Google Reader, Flock, and Safari. It however, is not showing up in Firefox feed reader.

    Ultimately I’m trying to get this to work in SimplePie, and I’m trying to isolate what causes the images to show up: is it the feed, or the reader? or yikes: both!

    Thread Starter marc0047

    (@marc0047)

    Ooops, something went wrong there, here it is again:

    ‘<?php query_posts(‘pagename=home’); ?>’
    ‘<?php if (have_posts()) : while (have_posts()) : the_post(); ?>’
    ‘<?php the_content(); ?>’
    ‘<?php endwhile; endif; ?>’

    ‘<ul’>
    ‘<?php rewind_posts(); ?>’
    ‘<?php if (have_posts()) : while (have_posts()) : the_post(); ?>’

    • <?php the_title(); ?>
    • ‘<?php endwhile; endif; ?>’

    Thread Starter marc0047

    (@marc0047)

    Thanks!

    Unfortunately using rewind_post doesn’t seem to work. Here’s my setup:

    ‘<?php query_posts(‘pagename=home’); ?>’
    ‘<?php if (have_posts()) : while (have_posts()) : the_post(); ?>’
    ‘<?php the_content(); ?>’
    ‘<?php endwhile; endif; ?>’

    ‘<ul’>
    ‘<?php rewind_posts(); ?>’
    ‘<?php if (have_posts()) : while (have_posts()) : the_post(); ?>’

    However if I put another blank query_posts() after the rewind call, it seems to work to output the regular posts, but with an argument error at the beginning

    marc0047

    (@marc0047)

    I’ve noticed doesn’t work for me even if I set Syndication Feeds to Full Text. I can see in my XML sheet that the images are being output, they’re just not being read by several different readers I’m using.

    Any other tips or clues?

    Thread Starter marc0047

    (@marc0047)

    Thanks for the tip.

    I also tried calling the “sidebar” in the default Kubrick style and activated the comments, and that worked too. So comments does in fact work outside the loop.

    The most important element that *must* be called is the ‘comments_template()’ function, and everything will work fine.

    If the function is not called, it’s like turning the light switch off.

    Thread Starter marc0047

    (@marc0047)

    Argh,… doesn’t work if you reference a document like this:

    https://domain.com/wp-content/themes/mythemes/category-3.php

    No sure what is going on. However, I did figure out another way to handle using a non-Themes page to query what I wanted. Rather than querying inside the doc, I just made sure the link queried the content I was looking for:

    Case Studies

    I’m not sure why this works properly to both display the correct posts *and* get the posts_nav_link to show up and function properly, as opposed to posts_query?! I’ll investigate more!

    Thread Starter marc0047

    (@marc0047)

    I’ll give those a try. Thanks again!

    Thread Starter marc0047

    (@marc0047)

    Nope, you’ve got it! However, I really would like to avoid using the themes set up.

    There’s a special page on the site that is called ‘Case Studies’ that I would like to be retreived as ‘https://domain.com/casestudies.php&#8217; as opposed to ‘https://domain.com/wp-content/themes/mythemes/category-3.php&#8217;.

    Is there any way to write code for a page that exists in the root directory of the WP folder? Or am I just being really stubborn, and I really need to use Themes? ??

    Thread Starter marc0047

    (@marc0047)

    Thanks…! Actually I’m still building a complete page like this:

    ————
    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, false);
    require(‘wp-blog-header.php’);
    ?>

    <html>
    <body>

    content, WP loops, separate CSS, etc.

    </body>
    </html>

    ————

    I’ve just had considerable trouble with the query_posts and the posts_nav_link, and I was wondering if it was because I was building my page outside the Themes folder.

    But if all that is required is the ‘wp-blog-header.php’ to be called, then I can at least rule that out as a variable…!

    Thanks again.

Viewing 15 replies - 16 through 30 (of 47 total)