Archived
endra fontstørelse på artist-widget til p-class, (minst, liten, normalliten, normalstor, stor, mega)
This commit is contained in:
1 parent
c859ea416d
commit
3d9f8afe78
1 file changed
+1
-1
+1
-1
@@ -54,7 +54,7 @@ class Artist_Widget extends WP_Widget {
|
||||
while ( $studart->have_posts() ) {
|
||||
$studart->the_post();
|
||||
$link = get_post_meta($post->ID, 'studio_artist_link', true) ? get_post_meta($post->ID, 'studio_artist_link', true) : get_permalink();
|
||||
echo '<p style="font-size:'.get_post_meta($post->ID, 'studio_artist_font', true).'px"><a href="' . $link . '">' . get_the_title() . '</a></p>';
|
||||
echo '<p class="'.get_post_meta($post->ID, 'studio_artist_font', true).'"><a href="' . $link . '">' . get_the_title() . '</a></p>';
|
||||
}
|
||||
} echo $args['after_widget'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user