Ответы в темах

Просмотр 7 ответов — с 1 по 7 (всего 7)
  • Сделал, спасибо хД

    <div id="gp-share-icons">
    
    	<h3><?php esc_html_e( 'Поделиться', 'ghostpool_lang' ); ?></h3>
    
    	<div class="gp-share-icons">
    	<a>&media=<?php echo esc_url( $gp_vk_image ); ?>&description=<?php echo esc_attr( get_the_title( get_the_ID() ) ); ?>" count-layout="vertical" class="gp-share-vk" target="_blank"></a>			
    
    		<a>&url<?php echo urlencode( get_permalink( get_the_ID() ) ); ?>" title="<?php esc_attr_e( 'Tweet This Post', 'ghostpool_lang' ); ?>" class="gp-share-twitter" onclick="window.open(this.href, 'gpwindow', 'left=50,top=50,width=600,height=350,toolbar=0'); return false;"></a>	
    
    		<a>&t=<?php echo esc_attr( get_the_title( get_the_ID() ) ); ?>" title="<?php esc_attr_e( 'Share on Facebook', 'ghostpool_lang' ); ?>" class="gp-share-facebook" onclick="window.open(this.href, 'gpwindow', 'left=50,top=50,width=600,height=350,toolbar=0'); return false;"></a>
    
    		<a>" title="<?php esc_attr_e( 'Share on Google+', 'ghostpool_lang' ); ?>" class="gp-share-google-plus" onclick="window.open(this.href, 'gpwindow', 'left=50,top=50,width=600,height=350,toolbar=0'); return false;"></a>
    <a>&media=<?php echo esc_url( $gp_odnoklassniki_image ); ?>&description=<?php echo esc_attr( get_the_title( get_the_ID() ) ); ?>" count-layout="vertical" class="gp-share-odnoklassniki" target="_blank"></a>	
    
    		<?php if ( isset( $GLOBALS['ghostpool_page_header_bg_css'] ) OR ( has_post_thumbnail() && ( isset( $GLOBALS['ghostpool_featured_image'] ) && $GLOBALS['ghostpool_featured_image'] == 'enabled' ) )  ) {
    			if ( isset( $GLOBALS['ghostpool_page_header_bg_css'] ) && $GLOBALS['ghostpool_page_header_bg_css'] ) {
    				preg_match_all( '~\bbackground(-image)?\s*:(.*?)\(\s*(\'|")?(?<image>.*?)\3?\s*\)~i', $GLOBALS['ghostpool_page_header_bg_css'], $gp_matches );
    				$gp_image = $gp_matches['image'];
    				$gp_pinterest_image = $gp_image[0];
    			} else {
    				$gp_pinterest_image = wp_get_attachment_url( get_post_thumbnail_id( get_the_ID() ) );
    			} ?>
    			<a>&media=<?php echo esc_url( $gp_pinterest_image ); ?>&description=<?php echo esc_attr( get_the_title( get_the_ID() ) ); ?>" count-layout="vertical" class="gp-share-pinterest" target="_blank"></a>	
    
    		<?php } ?>
    
    	</div>
    
    </div>

    вот код

    а вобще есть ли смысл использования плагина bulletproof security?
    есть ли какие то хорошие альтернативы?
    и какие советы вы можете дать по безопасности сайта?

    position: absolute; только в коде,а не fixed

    + картинки в лайтбоксе так же вылезают за рамки стилей

    Короче с мозиле,при малом разрешении съезжают карусели изображений,в шапке новости (миниатюра) ровно стоит.

    похоже не браузерах дело…когда разрешение экрана уменьшаешь,все коверкается.( http://4theplayers.ru/

Просмотр 7 ответов — с 1 по 7 (всего 7)