Se mejora la visualización de las citas y se cambia de menú
This commit is contained in:
parent
541c042773
commit
904360e631
7 changed files with 1214 additions and 12 deletions
|
@ -27,7 +27,7 @@ if( $flexible_posts->have_posts() ):
|
|||
if ($post->post_type == 'quote') {
|
||||
$quote_text = get_the_content();
|
||||
$author = wp_get_post_terms($post->ID, 'quote_author_tag', array("fields" => "all"));
|
||||
$quote_author = '<p>— <a href="/quote-author/' . $author[0]->slug . '">' . $author[0]->name . '</a></p>';
|
||||
$quote_author = '<p>— <a href="/quotes/author/' . $author[0]->slug . '">' . $author[0]->name . '</a></p>';
|
||||
} else {
|
||||
$quote_text = get_the_content();
|
||||
$quote_author = get_the_title();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue