css style, php resets

This commit is contained in:
Alexander Yakovlev 2017-06-12 21:24:16 +07:00
parent 6afe1c2a48
commit 57c4de0585
2 changed files with 3 additions and 1 deletions

View file

@ -90,6 +90,7 @@ left: 53%;
.all{
height:650px;
width: 100%;
text-align:left;
}
.all .avatars{

View file

@ -68,7 +68,7 @@ function imbb_usergalaxy() {
while ($query->have_posts()) {
?>
<a href="#" id="human-<?php echo $i ?>" target="_blank" class="humans">
<img src="<?php echo get_post_meta( get_the_ID(), 'imbb_image', TRUE ) ?>" alt="<?php echo get_title() ?>">
<img src="<?php echo get_post_meta( get_the_ID(), 'imbb_image', TRUE ) ?>" alt="<?php the_title() ?>">
<div class="texts box">
<?php echo $query->the_post(); ?>
<span class="name">
@ -92,6 +92,7 @@ function imbb_usergalaxy() {
</div>
<?php
wp_reset_query();
wp_reset_postdata();
}
function imbb_scripts() {
wp_register_script( 'imbb_script', plugin_dir_url( __FILE__ ) . '/script.js', array('jquery'), '1.1.0', true );