Omnilogic
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Poll] [Plugin: Simply Poll] How to embed on php layoutUsing the WordPress do_shortcode() function should work.
<?php echo do_shortcode('[poll id="1"]'); ?>
Forum: Plugins
In reply to: [Simply Poll] [Plugin: Simply Poll] hardcode poll into alternate sidebarUsing the WordPress do_shortcode() function should work.
<div id="pollbox"> <?php echo do_shortcode("[poll id='1']"); ?> </div>
Just add the above into your sidebar template.
Bit of a late reply but I was having the same issue.
I happened to be loading jQuery 1.4.1.
I updated to jQuery 1.6.2 and everything now works how it should.Forum: Fixing WordPress
In reply to: Remove sticky posts from "posts page"Hey Chip,
Any particular reason you opted to check if it’s the page for posts rather than the homepage?
This works perfect for me.
function mychildtheme_filter_pre_get_posts( $query ) { if ( is_home() ) { $query->set( 'ignore_sticky_posts', true ); } return $query; } add_filter( 'pre_get_posts', 'mychildtheme_filter_pre_get_posts' );
Forum: Plugins
In reply to: [WP Super FAQ] [Plugin: WP Super FAQ] Arrow Symbol in IE7The problem seems to be a duplicate id on the
<h4><a>
tag and the following<div>
.
I got around it be changing the selector for the slideDown() and slideUp() fromjQuery('.wp-super-faq-answer' + wp_super_faq_id)
tojQuery(this).parent('h4').next('div')
.This is works for me at the moment. Hopefully when the plugin has its next update the issue will be fixed.
Also, the above fix may not work for all users in Firefox because FF tends to add a bunch of
<code>
tags into the page when you use a WP shortcode. I use a[raw]
shortcode (that removes autop and wptexturize) to wrap the[wp_super_faq]
shortcode.Hope this helps someone.
Nice plugin by the way.Forum: Plugins
In reply to: [Pronamic Google Maps] mashup map bubble shadow b0rkageI had a similar issue and the max-width change solved it for me.
Thanks.Forum: Fixing WordPress
In reply to: Get value of page order fieldYou have likely figured this one out by now but I thought I would post the answer for others.
I wanted to display the page order as a column in the backend. I used the following:
echo $post->menu_order;
Hope that helps.Forum: Fixing WordPress
In reply to: Custom Taxonomy ChildrenThis might work for you.
$taxonomy_term_id = $wp_query->queried_object_id; $taxonomy = 'your-taxonomy-name'; $taxonomy_children = get_term_children($taxonomy_term_id, $taxonomy); if (empty($taxonomy_children)) { echo 'this worked'; }
Forum: Fixing WordPress
In reply to: No images displayed in Media Library under Set featured imageThanks for this. Couldn’t figure out the cause of the issue. Changing my taxonomy name from type did the trick.
You’ll find the actual file browser/uploader in the menu under “Secure Files” -> “Secure Files”. In the future, we’ll be adding the ability to use a tag to embed this page in your content.
Forum: Fixing WordPress
In reply to: Problems with Visual Editor in WP 3.1Try adding this to the wp-config.php:
define('CONCATENATE_SCRIPTS', false);
before this line: require_once.
It seems to have worked for me, even if it does make the backend a bit slower.