stemie
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Offload SES Lite] Security threat found in Vaultpress after updateI found a resolution
“VaultPress support has confirmed that they consider this to be a false positive that can be safely ignored.”
https://github.com/deliciousbrains/wp-offload-ses-lite/issues/2
Forum: Plugins
In reply to: [BJ Lazy Load] Since updating some images in viewport do not loadThanks it appears to be working normally again ??
I have the latest version updated. I have also deactivated all other plugins.
What is an example of a format issue? I just have plain text in the post_content cell with no strange characters.
I might add that I am uploading this as a custom post type.
Is this a problem others have encountered?
Forum: Plugins
In reply to: [AddQuicktag] Quciktags not working for certain post typesI solved it by adding 0 to the add_action
Eg. it originally had
add_action( 'init', 'history_post_type');
I changed that to
add_action( 'init', 'history_post_type', 0 );
Not exactly sure why this worked, anyone know?
Forum: Plugins
In reply to: [BJ Lazy Load] Security Warning From Vaultpress – timthumbI’ve got the same warning today after updating your plugin to the most recent version.
Is it still safe?
I like your plugin I’m just paranoid about getting hacked. I run backups but it’s still a pain if this go wrong.
Hopefully Timthumb will be removed all together ??
Forum: Plugins
In reply to: [Related Posts for WordPress] Display custom field with related postsOk so I figured it out ??
We get the custom field (in my example _subheading) with
get_post_meta();
based on the post ID.
We can find the ID using$related_post->ID
So I added this line:
$relsub = get_post_meta( $related_post->ID, '_subheading', true );
Then we simply
echo
the$relsub
variable in the space I have for the subheading:echo "<div class='entry-meta'><span class='wid-text'>".$relsub."</span></div></div>";
Hope that helps someone one day.
Here is the working example:
$related_posts = MRP_get_related_posts( $post->ID ); if(!empty($related_posts)) { echo '<aside id="categories-4" class="widget widget_related"> <h4 class="widget-title">Related Posts</h4>'; foreach($related_posts as $key => $value) { $related_post = get_post($key); $related_thumb = get_the_post_thumbnail($related_post->ID, $options['popular_post']); if (!empty($related_thumb)) { echo "<div class='wid clearfix'><span class='wid-thumb' style='width:15%'>".get_the_post_thumbnail($related_post->ID, $options['popular_post'])."</span>"; } else { echo "<div class='wid clearfix'><span class='wid-thumb' style='width:15%'><img src='".get_template_directory_uri()."/inc/img/blank.jpg'></span>";} echo "<span class='wid-text'>".$related_post->post_title."</span>"; $relsub = get_post_meta( $related_post->ID, '_subheading', true ); echo "<div class='entry-meta'><span class='wid-text'>".$relsub."</span></div></div>"; } echo '</aside>';
Forum: Plugins
In reply to: [Related Posts for WordPress] css for my own styleThere are several options for customizing the way related posts are displayed on the plugins settings page.
For customizing with CSS: the list will be displayed as a
<ul>
within a container
<div class="related-posts" id="related-posts-(posttype)">
Forum: Plugins
In reply to: [MyMail AmazonSES Integration] Test Email – SMTP Error: Data not accepted.Problem solved, I had verified a domain but not the email address.
Amazon Web Services is a bit of a maze.Forum: Plugins
In reply to: [Firelight Lightbox] Navigate through images on a pageThanks that works, great plugin.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Carousel not workingAsk the theme author he should be able to help you.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Carousel not workingWhat theme are you using?
Have you disabled all other plugins besides Jetpack to see if its a plugin conflict?Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Carousel not workingYou can put the code in your functions.php file of you theme.
I would not edit the code in your theme editor in WordPress back-end rather edit it in notepad++ or the like because if your functions.php file has an error in it the site will break.
Basically what you are doing is over riding the parent themes functionality in the child theme, in this case you are removing their custom gallery functionality.
If you need help with development try odesk.com or elance.com you can get help at a good price.Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Carousel not workingThanks Cyril, that works!
For others remember you need to add this function after theme setup or the parent will over ride.function child_theme_setup() { remove_shortcode('gallery', 'gallery_shortcode_tbs'); add_shortcode('gallery', 'gallery_shortcode'); } add_action( 'after_setup_theme', 'child_theme_setup' );
Such a great theme, any chance anyone can help with this problem? Please…
I forgot to add there are no
<pre>
tags in the function I added, it appears to be automatically generated by the theme.Here is the function Im using
function myLoop($atts, $content = null) { extract(shortcode_atts(array( "pagination" => 'true', "query" => '', "category" => '', ), $atts)); global $wp_query,$paged,$post; $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); if($pagination == 'true'){ $query .= '&paged='.$paged; } if(!empty($category)){ $query .= '&category_name='.$category; } if(!empty($query)){ $query .= $query; } $wp_query->query($query); ob_start(); ?> <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo the_title(); ?></a></h3> <?php the_excerpt(); ?> <?php endwhile; ?> <?php if(pagination == 'true'){ ?> <div class="navigation"> <div class="alignleft"><?php previous_posts_link('? Previous') ?></div> <div class="alignright"><?php next_posts_link('More ?') ?></div> </div> <?php } ?> <?php $wp_query = null; $wp_query = $temp; $content = ob_get_contents(); ob_end_clean(); return $content; } add_shortcode("loop", "myLoop");