marr
Forum Replies Created
-
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.
Forum: Plugins
In reply to: WPNG Calendar Plugin: additional <li> popping upFound this solution:
https://code.google.com/p/wpng-calendar/issues/detail?id=43&q=titleI 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>Forum: Fixing WordPress
In reply to: I only want smoothgallery on home pageTake 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)
Forum: Plugins
In reply to: [Plugin: WP-Table] Need a fix for 2.5 compatabilityIt 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.
Forum: Plugins
In reply to: Simplepie, exclude the big titleI’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>
Forum: Plugins
In reply to: CMS – adding sidebar content within postI 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.
Forum: Plugins
In reply to: [Plugin: Stealth Login] Doesnt WorkHad 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.
Forum: Themes and Templates
In reply to: Complex WordPress Theme NavigationI’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?
Forum: Plugins
In reply to: Praise for the PageMash pluginGreat 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.
Forum: Themes and Templates
In reply to: Is It Possible to Display Posts Side by Side?