mfuchs
Forum Replies Created
-
Thanks so much, that worked. I added
<?php global $post; $EM_Event = em_get_event($post->ID, 'post_id'); ?>to the template and then
<?php echo $EM_Event->output('#_EVENTDATES'); ?>to output the Event Date.
Maybe this helps, it’s a modified version of the plugin.
http://ottopress.com/2011/modified-yourls-plugin/You can do that with an additional plugin.
http://www.viper007bond.com/wordpress-plugins/yourls-shorturl-widget/Forum: Fixing WordPress
In reply to: Video embed code disappearingoEmbed works but with oEmbed I can’t customize the output such as video size or overlay colors… 🙁
This did indeed help. I was able to change the div and remove the paragraph tag by adding the below code to functions.php.
/* * Change default image caption output */ add_shortcode('wp_caption', 'fixed_img_caption_shortcode'); add_shortcode('caption', 'fixed_img_caption_shortcode'); function fixed_img_caption_shortcode($attr, $content = null) { // Allow plugins/themes to override the default caption template. $output = apply_filters('img_caption_shortcode', '', $attr, $content); if ( $output != '' ) return $output; extract(shortcode_atts(array( 'id'=> '', 'align' => 'alignnone', 'width' => '', 'caption' => ''), $attr)); if ( 1 > (int) $width || empty($caption) ) return $content; if ( $id ) $id = 'id="' . esc_attr($id) . '" '; return '<div ' . 'class="pic-caption ' . esc_attr($align) . '">' . do_shortcode( $content ) . $caption . '</div>'; }I wasn’t able to get rid of the class assigned to the IMG. Any idea how I could do that?
Thanks so much,
MartinForum: Fixing WordPress
In reply to: Getting the link to the first menu itemDoes anybody maybe know how to do this?
Thanks a lot,
Martin
Forum: Fixing WordPress
In reply to: Getting the link to the first menu itemThanks Emil but that’s not what I meant. With WordPress 3 I am setting up my custom menu and am using a page as the first menu item. In my example it is “Portfolio”. Say in a month, I am deciding to move a different page or category from my custom menu to the first spot.
I would like to be able to link to the first item in my WP 3 menu from the homepage, no matter if it’s the “Portfolio” page or a different page. So I am looking for a way to output the URL to this first item in my menu.
Thanks,
MartinForum: Plugins
In reply to: [Plugin: Rich Text Widget] Ad an image is not workingWorked for me too. Thanks a lot modify!
Forum: Fixing WordPress
In reply to: Removing link to JPG file when using gallery functionMaybe that has to do with a “adjacent_image_link” function but I can’t figure out what this does…
Forum: Fixing WordPress
In reply to: Updated captions in Media Library don’t show up in postDoes anybody have an idea if this can be solved?
Forum: Fixing WordPress
In reply to: organizing my link listIf you want to order categories of links you could use the following code in your template. You would use this code to display one link category at a time.
<?php wp_list_bookmarks(‘title_li=&title_before=<h1 class=”sample”>&title_after=</h1>&category_before=&category_after=&category_name=Name of Link Category’);?>
Forum: Fixing WordPress
In reply to: Updated captions in Media Library don’t show up in postIs there any way to automate this process so that when I change a caption in the Media Library it will automatically reflect in the caption of a posted image?
That’s what I would expect to happen.Thanks,
MartinForum: Fixing WordPress
In reply to: Gallery function not showing up in 2.8.2CoolKarma is right, you have to actually insert the first image into a post and then click on the media uploader again. Otherwise the Gallery tab won’t show up. Thanks for the tip!
Forum: Fixing WordPress
In reply to: Gallery function not showing up in 2.8.2That is exactly how I uplopad images. But even after uploading images, all the tabs I see are:
* From Computer
* From URL
* Media LibraryNo idea what is going on here. I just installed WP 2.8.2 in a different folder on the server using a different database and the Gallery tab still does not show up.
Forum: Fixing WordPress
In reply to: Gallery function not showing up in 2.8.2kichu, I just uploaded the wp-admin folder again but still no Gallery tab in the upload media window…
Shane, I haven’t installed a single plugin yet, this is a brand new WordPress installation. The gallery function I am refering to should be build into WordPress, it’s not a plugin.