the1path
Forum Replies Created
-
Same and also the plugin options screen seems to be broken (less options and toggles not working)
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] No related posts.Im getting the same, “no related posts” also the plugin options page doesnt seem to work, I only have the display options visible and now one of them is shut and the toggle to open them does not work! Tested in latest FF and IE9!
I have v3.4.1 of the plugin
Forum: Plugins
In reply to: [Ultimate TinyMCE] [Plugin: Ultimate TinyMCE] Breaks all tinymce optionsWell no but the theme adds something but its a tough one for ya as your in “competition” with TinyMCE Advanced and their plugin works with the theme Im using.
Like I said its a shame as I wanted to give yours a chance and a test run.
Forum: Plugins
In reply to: [Ultimate TinyMCE] [Plugin: Ultimate TinyMCE] Breaks all tinymce optionsNo I installed Ultimate first Im afraid
The conditional statement would still be handy though.
Never mind I was trying to add #_EVENTIMAGE in the actual widget code instead of just using the widget screen in wp-admin…doh!
@matt, did you ever work this out. I added an image to the events page but want to add the same image to the widget but I cant find anything on the docs?
Any help much appreciated
the wp-events-plugin.com barely works. So slow or just doesnt load pages, and that wasnt just yesterday but the day before that too.
I do what I wanted eventually by adding a “Featured” Category and finding out its ID in my case it was 3.
I then added this at the top of events-list.php :
echo "<h2>Featured Events</h2>"; echo do_shortcode('[events_list category="3"]');Does the trick, now just got to add styles.
I have to say being a non-coder I find the templating system very difficult to follow for this plugin, looks like its all variables passed from other functions.
I did this eventually by adding a “Featured” Category and finding out its ID in my case it was 3.
I then added this at the top of events-list.php :
echo "<h2>Featured Events</h2>"; echo do_shortcode('[events_list category="3"]');Does the trick, now just got to add styles.
I have to say being a non-coder I find the templating system very difficult to follow for this plugin, looks like its all variables passed from other functions.
Sorry to hijack this thread a bit but I see things that might be useful to my own issue.
I want a featured event area above the event search on the list page. How do I obtain the category id to create a conditional statement?
Would I just use:
echo do_shortcode('[events_list category="8"]');Thanks in advance
Yeh Im looking to do something similar with it. I want to create a “Featured Event” area above the event search on the list page.
They way Im figuring to do it is to create a “Featured” category and then use a conditional if statement to only display events in this category.
The thing Im trying to figure out is how to do the conditional statement i.e.
if $em_category = "featured" { display events }Anyone got any ideas?
Forum: Fixing WordPress
In reply to: Featured Image LinkThat isnt the logic you are currently using though.
Whats this bit doing, is there other code you havent posted:
if($content = $post->post_content ) { ?>Currently your code is saying:
If post has a thumbnail display the thumbnail with a link to posts permalink
else display a thumbnail with an external link.
You ar enot using an argument to find it there is an external url or not, also you are not displaying any clickable link titles/text.
So you are using the $custom variable to hold the external url using:
$key="featured_external"; $custom = get_post_meta($post->ID, $key, true);You should use this for you if statement:
if($custom != ""){ <a href="<?php echo $custom; ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail(); ?> </a> } else { <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail(); ?> </a> }Forum: Fixing WordPress
In reply to: Featured Image Link@dhebe – Im sure that doesnt work.
@faberuna – the code goes in your page/post template.
@resonant705 – Why are you using the_permalink() if you are wanting to link to the featured external link?
Shouldnt your code read:
<?php if(has_post_thumbnail()) { if($content = $post->post_content ) { ?> <a href="<?php $key="featured_external"; echo get_post_meta($post->ID, $key, true); ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail('feat-loop2'); ?> </a> <?php } else { ?> <a href="<?php $key="featured_external"; echo get_post_meta($post->ID, $key, true); ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail(); ?> </a> <?php } ?> <?php } ?>Is that what you mean as Im not quite sure I get your issue?
Forum: Themes and Templates
In reply to: Twenty Eleven theme options – how do they workChanged this to:
<form method="post" action="../../wp-admin/options.php">and it now works.Dont understand the
<form method="post" action="../../twentyeleven/inc/options.php">reference, I must be missing some kind of rewrite somewhere or summit. Duh.Forum: Networking WordPress
In reply to: Test to see if user is a site admin, can it be done in MU?Yeh I was looking to test if a user was “a site admin”. Im using WP 3.2.1 (stipulated in sidebar) and Buddypress.
My solution seems to work so Ive marked thread as resolved but Im sure some expert can chime in with a more elegant solution. 🙂