We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: More classes for masonry #1167
    Sebastian
    Participant

    Great, I’m very happy 🙂

    in reply to: More classes for masonry #1163
    Sebastian
    Participant

    Hi Tom, Thanks for the help. I have only one test webpage. It would be great if you add a container at next update. There were then many possibilities to design, without change the current css. By the way, when will the next update appear?

    in reply to: More classes for masonry #1153
    Sebastian
    Participant

    I have tried, but it does not work. I want to do something like this, see screenshot.

    Screenshot

    in reply to: More classes for masonry #1131
    Sebastian
    Participant

    With a second inner container I could make a border.

    I quickly wrote something. I hope you can understand what I mean.

    <html>
    <head>
        <style type="text/css">
        body {
        	background-color: gray;
        }
        
        .wp-show-posts-inner {
            background-color: white;
            width: 300px;
            height: 150px;
            position: relative;
        }
        
        .wp-show-post-inner-content {
        	float: left;
            background-color: white;
            width: 280px;
            height: 130px;
            border: 1px solid #e5e5e5;
            position: relative;
            margin: 10px;
        }
        
        .wp-show-posts-entry-header {
    		text-align: center;
    		margin-top: 20px;
    		font-size: 24px;
        }
        
        .wpsp-social {
    		text-align: center;
    		margin-top: 40px;
    		padding-top: 10px;
    		font-size: 16px;
    		border-top: 1px solid #e5e5e5;
        }
        </style>
    </head>
    
    <body>
    
        <div class="wp-show-posts-inner">
        
    		<div class="wp-show-post-inner-content">
    		
        		<div class="wp-show-posts-entry-header">Post Title</div>
        		<div class="wpsp-social">FA TW G+ PI</div>		
        		
        	</div>
        		 
        </div>
    
    </body>
    
    </html>
    in reply to: WPSP Social Icons (class="wpsp-social") shortcode? #1129
    Sebastian
    Participant

    Tom, you’re a genius, thanks 🙂

    in reply to: WPSP Social Icons (class="wpsp-social") shortcode? #1116
    Sebastian
    Participant

    I tried and it worked. But I do not understand one thing.

    get_the_title() is output at the exact location, where I placed the shortcode [xxx_wpsp_social_sharing] in the post content. The social icons, however, are at the top left on the website. Why?

    function wpsp_social_sharing_shortcode() {
    	return get_the_title() . wpsp_social_sharing( get_the_ID(), $twitter = true, $facebook = true, $googleplus = true, $pinterest = true, $love = true );
    	wp_enqueue_script( 'wpsp-love-it' );
    }
    add_shortcode( 'xxx_wpsp_social_sharing', 'wpsp_social_sharing_shortcode' );
    in reply to: WPSP Social Icons (class="wpsp-social") shortcode? #1101
    Sebastian
    Participant

    Hi Tom, yes exactly. I want to take social_sharing from WPSP and place it in a single post.

    I’ve tried, it does not work. I’m not a good coder, sorry 🙁 can you help me please?

    What am I doing wrong?

    add_shortcode( 'wpsp_social_sharing', 'wpsp_social_sharing_shortcode' );
    function wpsp_social_sharing_shortcode() { 
    	if ( $social_sharing && function_exists( 'wpsp_social_sharing' ) ) :
    		echo wpsp_social_sharing( get_the_ID(), $twitter = true, $facebook = true, $googleplus = true, $pinterest = true, $love = true, $social_sharing_alignment = 'left' );
    		wp_enqueue_script( 'wpsp-love-it' );
    	endif;
    }
Viewing 7 posts - 1 through 7 (of 7 total)