Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • I had a similar situation trying to get a shortcode to parse in the mobile version. WPTouch has it’s own theme files that can be edited. Add your shortcode to the core-functions.php file located at ../wp-content/plugins/wptouch/themes/core/core-functions.php.

    Found this solution:
    http://code.google.com/p/wpng-calendar/issues/detail?id=43&q=title

    I was able to fix this problem by changing the following in wpng-calendar.php
    (beginning at line 264):

    FROM:
    echo $before_widget . $before_title . $after_title;
    if(!$options = get_option(‘wpng_cal_widget_options’)) {
    $options = array(‘wpng_cal_widget_list_size’ => 5, ‘wpng_cal_widget_title’
    => ‘Upcoming Events’);
    }
    ?>
    <?php echo($options[‘wpng_cal_widget_title’]) ?></h2>
    <div id=”wpng-cal-widget-events” style=”display:none;”></div>

    TO:
    if(!$options = get_option(‘wpng_cal_widget_options’)) {
    $options = array(‘wpng_cal_widget_list_size’ => 5, ‘wpng_cal_widget_title’
    => ‘Upcoming Events’);
    }
    echo $before_widget . $before_title . $options[‘wpng_cal_widget_title’] .
    $after_title;
    ?>
    <div id=”wpng-cal-widget-events” style=”display:none;”></div>

    Take a look at the theme’s template files for this code on line 2:
    <?php include(TEMPLATEPATH."/extra.php");?>

    Delete that and it won’t call the Smooth Gallery or the What’s Happening block.

    I found it in these templates:

    • 404 Template (404.php)
    • Archives (archive.php)
    • Archives (archives.php)
    • falbum.php (falbum.php)
    • Main Index Template (index.php)
    • Page Template (page.php)
    • Plogger (plogger.php)
    • Search Results (search.php)
    • Single Post (single.php)

    It works (in WP 2.5.1)! Thanks for the tip daltonrooney!

    I disabled the cforms plugin, and activated wp-table just fine. Then re-activated cforms without any problems.

    I’m not sure if you’re using a plug-in or a diy installation.

    If you’ve done your own Simplepie installation and have a page like their sample then just remove the header section:

    <div class="header">
    <h1><a>get_permalink(); ?>"><?php echo $feed->get_title(); ?></a></h1>
    <p><?php echo $feed->get_description(); ?></p>
    </div>

    If you’re using the plugin from Simplepie, you need to edit the template you’re using (found at
    /public_html/wp-content/plugins/simplepie-plugin-for-wordpress/templates/yourtemplate.tmpl) to remove:

    <h3><a href="{FEED_PERMALINK}">{FEED_TITLE}</a></h3>

    I think you could accomplish this with the addition of custom fields in your post.

    Create a category page template. If “Profiles” is category id 4, then the template file needs to be named category-4.php.

    Set up both ‘doublecol’ divs within the loop of the template. The first to pull the_content, your post information, and the second to pull in the_meta, or your extra stuff from the custom fields.

    Use CSS to style the column divs to appear side-by-side.

    marr

    (@marr)

    Had a problem Stealth Login taking down my site this morning with an internal server error. The error logs reported:

    [Fri Apr 04 10:28:36 2008] [alert] [client XX.XX.XXX.XXX] /home/sharedservername/public_html/.htaccess: </files> without matching <files> section

    [Fri Apr 04 10:28:36 2008] [error] [client XX.XX.XXX.XXX] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

    Checked the .htaccess file. I had three redirects that were added in the past that were now missing. After clearing out the .htaccess file, we were back in action.

    I had just installed this plugin yesterday with initial problems. So I can’t say this was the only smoking gun.

    marr

    (@marr)

    I’ve been looking at doing the same when time permits. I’m thinking that defining a custom field key (named ‘nav_description’ for example) and adding a value (your brief description) on each page.

    Then call the key after the link in the top navigation.
    get_post_custom_values('nav_description')

    Or is there a way to use wp_list_pages to call custom field values?

    marr

    (@marr)

    Great plugin. I had about 60 pages to setup. This plugin makes changing page order and defining parent pages so fast and easy. This should be the default for WordPress page management.

    Plus I can use the function in the body of my template code.

Viewing 10 replies - 1 through 10 (of 10 total)