Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Hi Actiontripguru,

    Try my CSS settings (I also got rid of the border and background), the float and display: block properties are important.

    .fetched_tweets.light > li {border: none!important;}
    .fetched_tweets > li {box-shadow: none!important; font-family: inherit!important;}
    .tweet_data {font: 16px/20px 'Lora', sans-serif!important; float: none!important; display: block; width: auto; text-align: left; overflow: visible; word-break: keep-all;}
    .wdtf-user-card {float: left!important; width: auto!important;display: inline-block; margin-right: 5px;}
    .times {float: right!important;}

    Did you fix it yet? Use

    .tweet_data {word-break: keep-all;}

    Solved the problem for me in IE and Firefox.

    Thread Starter AvWijk

    (@avwijk)

    Of course I meant with all the classes included:

    <a class="cboxElement" style="color: #F00;" href="blabla.jpg" title="test">Click me</a>

    Thread Starter AvWijk

    (@avwijk)

    Here it is. https://scsdelft.schoudercom.nl/kalender/feed.rss
    There is a future date marked as sept 1, 2014.

    The entry displays fine in the back-end as ‘to be published’ but I can’t find an option to simply auto-publish everything in the feed…

    Thread Starter AvWijk

    (@avwijk)

    Nobody? I only need these to be dynamic, the number of slides, determined by the number of attachments, and the ‘active’ status (just one slide per time, like the example)

    Thread Starter AvWijk

    (@avwijk)

    May seem a bit rigorous, but I couldn’t make use of this plugin anymore. My webhost was unwilling to help me with any script-related issues.

    I decided to implement my own solution: a Custom Post Type with Custom Fields.

    Works great for my needs, just a simple member table with common fields like first name, last name, membership date, email, featured image, etc.

    Thread Starter AvWijk

    (@avwijk)

    Solved this.

    I simply list the attached audio files neatly in a table, together with the embedded audio.

    <?php $audio = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'audio' ) ); ?>
                                <?php if ( empty( $audio ) ) : ?>
                                    <?php edit_post_link( '<div class="edit-post">Geen MP3\'s geupload voor deze songtekst.</div>' ); ?>
                                <?php else : ?>
                                    <div>
                                        <p><em>MP3-bestanden voor dit nummer (download / afspelen)</em></p>
                                        <table class="table table-striped">
                                         <tbody>
    
                                        <?php foreach ( $audio as $attachment_id => $attachment ) : ?>
                                            <tr>
    
                                           <td class="col-xs-1"><a style="color: #000;" href="<?php echo wp_get_attachment_url( $attachment_id, 'full' ); ?>"><i class="fa fa-download"></i></a></td>
                                           <td class="col-xs-4"><a style="color: #000; display: block;" href="<?php echo $nummer_url = wp_get_attachment_url( $attachment_id, 'full' ); ?>" title="<?php echo wp_get_attachment_link( $attachment_id, '' , false, false, ' '); ?>" download><?php echo $title = get_the_title( $attachment_id );?>.MP3</a></td>
                                           <td class="col-xs-7"><?php echo do_shortcode('[audio mp3="'.$nummer_url.'"][/audio]'); ?></td>
                                        </tr>
    									<?php endforeach; ?>
    
                                         </tbody>
                                        </table>
                                    </div>
                                <?php endif; ?>
    Thread Starter AvWijk

    (@avwijk)

    Solved this with the Admin Columns plugin!

    Thread Starter AvWijk

    (@avwijk)

    I saw this link, looks perfect, but it’s only for playlists… I need the download link for every single MP3 upload.

    http://wordpress.stackexchange.com/questions/141767/download-button-for-wp-audio-player

    Thread Starter AvWijk

    (@avwijk)

    Alchymyth, hero!! That did the trick.

    Thread Starter AvWijk

    (@avwijk)

    The output should be like this:

    <div class="percent-one-fourth box fadeIn"><div class="work-member">stuff</div>
    <div class="percent-one-fourth box fadeIn"><div class="work-member">stuff</div>
    <div class="percent-one-fourth box fadeIn"><div class="work-member">stuff</div>
    <div class="percent-one-fourth <strong>column-last</strong> box fadeIn"><div class="work-member">end column stuff</div>
    Thread Starter AvWijk

    (@avwijk)

    Got it! Works great in combination with my old code. Apparently this displays the title as I set it in Media Manager.

    <?php $filename = basename ( get_attached_file( $data->ID ) ); ?>
    <?php echo $filename ?>
    Thread Starter AvWijk

    (@avwijk)

    Only the thumbnail part is important, but is part of the same post (query posts)

    Thread Starter AvWijk

    (@avwijk)

    I got a blank screen, code is not working. This is the full chunk of code I have now, how do I show the title?

    <div id="postcontainer-4">
    					  <?php query_posts('p=121'); while (have_posts()) : the_post(); ?>
                        <div class="col-sm-12" id="single-post post-<?php the_ID(); ?>">
                        <p><h2><?php the_title();?></h2></p>
                        <?php the_content();?>
                        </div> <!-- end: col 8 -->
    
    						   					<?php $thumb_ID = get_post_thumbnail_id( $post->ID ); if ( $images = get_children(array( 'post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image', 'exclude' => $thumb_ID, ))) : ?>
                             								<?php foreach( $images as $image ) :  ?>
                                                             <div class="col-sm-4 col-xs-6">
    
                                 <div style="padding-bottom: 10px; padding-top: 10px;">
                                    <a class="fancybox-asset" href="<?php echo wp_get_attachment_url($image->ID, 'thumbnail-latest'); ?>" alt="<?php the_title();?>" title="TITLE GOES HERE!">
                                    <div class="circle largecircle" style="background: url(<?php echo wp_get_attachment_url($image->ID, 'thumbnail-latest'); ?>); background-size: cover; background-position: center; "><div class="circle-overlay-zoom"><i class="fa fa-search fa-2"></i></div></div>
    								</a>
                                 </div>
                                    </div>
                               								 <?php endforeach; ?><?php else: // No images ?><!-- This post has no attached images -->
    
    														 <?php endif; ?>
    
                        <?php endwhile;?>
                    </div>
    Thread Starter AvWijk

    (@avwijk)

    Nope.. cheap hosting package

Viewing 15 replies - 1 through 15 (of 18 total)