Forum Replies Created

Viewing 15 replies - 406 through 420 (of 3,660 total)
  • Plugin Author Chip Bennett

    (@chipbennett)

    I found the issue. I had a bug with the user capability passed to add_options_page().

    I’ve fixed that bug, and also moved the Plugin settings from a custom settings page to Dashboard -> Settings -> Reading.

    Version 2.1 should resolve this issue.

    Thanks again for using the Plugin!

    Plugin Author Chip Bennett

    (@chipbennett)

    @virtualmotorpix thanks for confirming! I’ll push out a bugfix ASAP.

    Plugin Author Chip Bennett

    (@chipbennett)

    I think I found a typo (silly search-replace error), that would cause the problem. Though, I have no idea why it isn’t breaking for me.

    Anyway, would one of you mind testing something for me?

    In the options.php file, line 434, can you change:

    edit_Plugin_options

    to

    manage_options

    …and let me know if that fixes the problem?

    Thanks!

    Plugin Author Chip Bennett

    (@chipbennett)

    Another question: are you, by chance, using a username that is not an Administrator?

    Plugin Author Chip Bennett

    (@chipbennett)

    I’ve uploaded a screencap of the settings page.

    You don’t see anything under Dashboard -> Settings?

    Plugin Author Chip Bennett

    (@chipbennett)

    Hi all. Sorry, for some reason, I didn’t get email or RSS notification of this thread.

    You should find the settings page under Dashboard -> Settings -> cbnetdppp Options.

    Please let me know if you don’t find it there. I tested it exclusively under 3.5-RC, but there shouldn’t be any issues with 3.4.x.

    Plugin Author Chip Bennett

    (@chipbennett)

    You should find the settings page under Dashboard -> Settings -> cbnetdppp Options.

    That may not be the most clear title for the settings page. 🙂 I’m in the process of updating all my Plugins, and I’ll try to come up with something more clear and consistent for all of them, with respect to settings page naming convention.

    Thanks for using the Plugin. I appreciate any feedback.

    Plugin Author Chip Bennett

    (@chipbennett)

    I’ve re-written the Plugin from the ground up, as version 2.0. It should be more easily extensible now, though I need to put a bit more thought into how to facilitate targeting specific taxonomy terms (including specific categories).

    Once I figure out the best way to handle that, I’ll release another update. Until then, you can use a simple filter of your own to control the number of posts per page of your specific category.

    Assuming the category is foobar and that you want to display 5 posts per page, add the following to a site Plugin, or to functions.php:

    function aground_filter_pre_get_posts( $query ) {
        if ( is_main_query() && is_category( 'foobar' ) ) {
            $query->set( 'posts_per_page', '5' );
        )
        return $query;
    }
    add_action( 'pre_get_posts', 'aground_filter_pre_get_posts' );

    And that should be all you need. Just change foobar and 5 as appropriate.

    Just as a follow-up on this one:

    Currently, the front page layout is configurable via the “Layout” custom post meta on the edit-post screen for the page assigned as page_on_front. I have also just added an option for Default Static Front Page Layout.

    These changes will be available in version 3.0, which will be released soon.

    Theme Author Chip Bennett

    (@chipbennett)

    Hi Techstorm, and sorry for the late response; this one fell through the cracks.

    For your first question: use a Child Theme and override the infobar.php template-part file, to remove/replace the infobar content.

    Your second question appears to be pure CSS, and would depend upon the specific markup for your replacement content.

    For your third question, to remove the site title, filter oenology_hook_site_header. For example, the following will return nothing instead of the site title/description:

    function oenology_child_filter_site_header( $site_header ) {
        __return_false();
    }
    add_filter( 'oenology_hook_site_header', 'oenology_child_filter_site_header' );

    Hope this helps!

    Try getting rid of the custom query (i.e. get_posts() ) and just use the normal loop:

    if ( have_posts() ) : while ( have_posts() ) : the_post();
        // Loop markup here
    endwhile; endif;

    The problem is your custom loop is stomping the normal query that WordPress is attempting to use, and it is that normal query that knows to display only posts from the given month.

    You’re telling WordPress, “Don’t use the query you want to use; use my custom query instead.”

    Do not link to sites such as those, that distribute non-GPL Themes, with spammy ads/links, encrypted code, and the like.

    Here’s why you should only download Themes from trusted sources, such as the official Theme directory.

    The get_template_part() template tag is simply a file-include call to include any arbitrarily named file. It is analogous to get_header() to include header.php, get_footer() to include footer.php, get_sidebar() to include sidebar.php(), andget_search_form()to includesearchform.php`.

    Calling get_template_part( $slug ) will include a file named <strong>$slug.php</strong>. The most common use case is get_template_part( 'loop' ) to include loop.php, as a means of abstracting the loop code out of the main template files.

    Calling get_template_part( $slug, $name ) will include a file named $slug-$name.php. So continuing our example above, you could have a different loop output for different post formats (video, image, gallery, aside, etc.). Combining get_template_part() with get_post_format() yields a very powerful way to include post-format-specific loop output, via get_template_part( 'loop', get_post_format() ). Using that call, if the current post has a post format of “gallery”, the loop-gallery.php file would be included automatically.

    But here’s the fun part: get_template_part() is really just a fancy wrapper for locate_template(): meaning that it is more powerful than a simple include() call, because it has the built-in ability to fall back to less-specific files.

    If you are using a Child Theme, and call get_template_part( $slug, $name ), WordPress will attempt to include each of the following files, in order:

    * $slug-$name.php in the <em>Child</em> Theme
    * $slug-$name.php in the <em>Parent</em> Theme
    * $slug.php in the <em>Child</em> Theme
    * $slug.php in the <em>Parent</em> Theme

    So if your parent Theme includes loop.php, you can override that file just for posts that have the “gallery” post format, simply by including loop-gallery.php in your Child Theme, and ensuring that you call get_template_part( 'loop', get_post_format() ) in the appropriate place(s).

    I am quite confident in saying that any well and properly coded Plugin, whether free or commercial, will work just fine with any Theme you will find hosted in the official Theme directory – because directory-hosted Themes must pass a rigorous review process that verifies, among other things, that the Themes adhere to WordPress coding standards and best practices.

    Whether or not a free or commercial Plugin will work well with a given commercial Theme depends on how well that commercial Theme is coded. Some do an excellent job of adhering to WordPress coding standards and best practices; others do not.

    Do you recommend any other source for free wordpress themes?

    I would start with the official Theme repository:
    http://wordpress.org/extend/themes

    You’ll find many, many Themes that meet your stated criteria:

    3 columns with left and right sidebar; customizable header for my header, phone number and other text; customizable background, colors.

Viewing 15 replies - 406 through 420 (of 3,660 total)