Forum Replies Created

Viewing 15 replies - 121 through 135 (of 162 total)
  • Thread Starter ajd777

    (@ajd777)

    This plugin has been updated.

    Changelog:

    Major overhaul
    Uses a small javascript file rather than larger prototype.js library.
    Uses neater code and no longer uses hidden links.
    Minimizes extra divs.
    Far more customizable with three display modes (break after the more tag, X number of paragraphs or X words).
    Uses a single command rather than two different ones.
    Old commands have been changed to allow them to function as drop ins for the actual commands.
    Various other updates and improvements

    ajd777

    (@ajd777)

    On a 6Mbit connection your site takes 21 seconds to load the first time, and about 15 – 20 for each successive time. The average “slow” site takes about 3 -5 seconds for me. I hope the theme is faster.
    On another note I hope you asked permission to redistribute the bundled plugins. While technically you don’t need to for GPL ones, you do for ones released under other licenses and any one where the license is not specifically stated. Besides it is just nice to have the consideration to do it, and many authors will provide a link.

    Forum: Plugins
    In reply to: Four new Widgets
    Thread Starter ajd777

    (@ajd777)

    Unfortunately my host’s data center went offline and my host is vamping around rather than getting the server back online.

    You can email me at ajd[dot]websites[at]gmail[dot]com and I will send you a copy of whichever widget you are interested in.

    If may. You don’t have to worry about the splog part. The reason I mention it is because it takes literally two clicks to create a new website or to change the name of one.

    It makes it very easy to use the same content, but change the url or create a lot of different sites without any additional setup.

    Thread Starter ajd777

    (@ajd777)

    I’ve just begun testing a new version on my own site that should get rid of most of the bugs.

    I’ve had my own plans for similar interfaces which is why I changed the name.

    No hacks are needed to do this. Just set your category base to ./

    You really need to label that NSFW, just because it is a theme for an adult site doesn’t mean that there are adult images on it.

    Thread Starter ajd777

    (@ajd777)

    Seeing as In-line Ajax Posts had over 230 hits in it’s first 30 hours I decided that my first priority should be to update it and fix the bugs. That said I’m proud to announce that is is completely bug free, and has been overhauled to no longer be restricted to the basic the_content() and the_excerpt() functionality. Among other fixes you can now customize your Read More and Hide Post link texts. The original post has been updated to reflect these changes.

    Forum: Installing WordPress
    In reply to: Upload?

    Do you use cpanel? If so zip up the wordpress files and folders, upload it using cpanel to where you want them to be and then click on the zip file and click unzip.

    If not try either SmartFTP (https://www.smartftp.com/) for windows or if you use Firefox use the Fire ftp plugin: https://fireftp.mozdev.org/

    And then just follow the instructions for uploading folders.

    I have a 5k word post on my site and it has never given me that. So most likely a problem with your server. Have you asked your hosting company about it?

    Just to let you know, most likely the cause of this was a space or line break before the opening php tag or after the closing php tags. <?php and ?> respectfully.

    I’ve learned that the first thing you do when something isn’t working right is to put it into a print_r() statement. It helps a lot with all those pesky multi-demensional arrays.

    For number two have you tried King Calender Widget? I haven’t tried it personally but the guy’s other stuff works well.
    https://www.blog.mediaprojekte.de/cms-systeme/wordpress-plugins/wordpress-widget-king-calendar/

    The only problem is that you will also need the widget plugin, which really can be a plus.
    https://automattic.com/code/widgets/

    <?php if (in_category('4')) : ?>{
    This line here is the culprit I think. You never end this if.

    I think what you meant is to have this:
    <?php if (in_category('4')) : ?>{
    echo 'This article is reprinted with the express permission of the author. Additional bio and contact material about the author can be found at the end of the article. In addition, if you have sales tips or strategies articles you'd like to see published on this site we invite you to <A HREF="mailto:[email protected]">submit your articles</A> for review. Good selling!';
    } else {
    echo '';
    }

    Actually be this:
    <?php if (in_category('4')) {
    echo 'This article is reprinted with the express permission of the author. Additional bio and contact material about the author can be found at the end of the article. In addition, if you have sales tips or strategies articles you'd like to see published on this site we invite you to <A HREF="mailto:[email protected]">submit your articles</A> for review. Good selling!';
    } else {
    echo '';
    }
    ?>

    Without seeing the actual site, I’m going to guess that one div is too wide. You may want to make it a bit smaller.

    There is a plugin that does it auto-magically.
    https://katesgasis.com/2005/10/24/sideblog/

    Or if you want to do it with get_posts use:

    <ul>
    <?php
    $posts = get_posts('numberposts=5&offset=1&category=1');
    foreach($posts as $post) :
    ?>
    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> --- <?php the_excerpt(); ?></li>
    <?php endforeach; ?>
    </ul>

    The problem you were having is that get_posts just looks up the information nothing more. You need to echo it out.
    Read more about get_posts:
    https://codex.www.ads-software.com/Template_Tags/get_posts

Viewing 15 replies - 121 through 135 (of 162 total)