Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Chouby on "[Plugin: Polylang] posts only display titles, no content"

$
0
0

There is something wrong... It seems that you have badly commented the original line in:

//<?php responsive_post_meta_data(); ?>

The right way to comment is:

<?php //responsive_post_meta_data(); ?>

If I am right, then we must restart the first test... but let's forget the first way and do it like this:

<?php
echo 1;
echo home_url();
echo 2;
echo home_url('?p=332');
echo 3;
echo get_permalink();
echo 4;
echo get_the_time();
echo 5;
echo get_the_date();
echo 6;
echo get_the_author_meta( 'ID' );
echo 7;
echo get_author_posts_url( get_the_author_meta( 'ID' ) );
echo 8;
echo get_the_author();
?>

If I am wrong, then it means that there is some code between

<div class="post-meta">

and the line we are replacing, which should not be there.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>