File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 71
71
72
72
echo '<div class="latestnews-img"> ' ;
73
73
74
- echo '<a class="latestnews-img-a" href=" ' .get_permalink (). ' " title=" ' .get_the_title ().'"> ' ;
74
+ echo '<a class="latestnews-img-a" href=" ' .get_post_meta ( get_the_ID (), ' url ' , true ). ' " target="_blank " title=" ' .get_the_title ().'"> ' ;
75
75
76
76
if ( has_post_thumbnail () ) :
77
77
the_post_thumbnail ();
85
85
86
86
echo '<div class="latesnews-content"> ' ;
87
87
88
- echo '<h3 class="latestnews-title"><a href=" ' .get_permalink (). ' " title=" ' .get_the_title ().'"> ' .get_the_title ().'</a></h3> ' ;
88
+ echo '<h3 class="latestnews-title"><a href=" ' .get_post_meta ( get_the_ID (), ' url ' , true ). ' " target="_blank " title=" ' .get_the_title ().'"> ' .get_the_title ().'</a></h3> ' ;
89
89
90
90
the_excerpt ();
91
91
105
105
echo '<div class="item ' .$ active .'"> ' ;
106
106
echo '<div class="col-md-3 latestnews-box"> ' ;
107
107
echo '<div class="latestnews-img"> ' ;
108
- echo '<a class="latestnews-img-a" href=" ' .get_permalink (). ' " title=" ' .get_the_title ().'"> ' ;
108
+ echo '<a class="latestnews-img-a" href=" ' .get_post_meta ( get_the_ID (), ' url ' , true ). ' " target="_blank " title=" ' .get_the_title ().'"> ' ;
109
109
if ( has_post_thumbnail () ) :
110
110
the_post_thumbnail ();
111
111
else :
You can’t perform that action at this time.
0 commit comments