How to get META description to show? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: How to get META description to show? (/showthread.php?tid=10296) |
How to get META description to show? - j*z - 2017-12-01 I'm using a custom theme I made years ago. Seems GS no longer supports this PHP Code: <?php get_page_meta_keywords(); ?> I'm running version 3.3.10 but will upgrade to 3.3.13 shortly. RE: How to get META description to show? - Carlos - 2017-12-01 That template tag is for meta keywords. For the meta description you should use: Code: <?php get_page_meta_desc(); ?> RE: How to get META description to show? - j*z - 2017-12-02 (2017-12-01, 22:01:12)Carlos Wrote: That template tag is for meta keywords. For the meta description you should use: Thank you Carlos! That's working for me. RE: How to get META description to show? - Alexander_ - 2017-12-06 (2017-12-01, 12:27:27)j*z Wrote: I'm using a custom theme I made years ago. Seems GS no longer supports this If you need the meta description of ANY page (not only the current) you can use PHP Code: <?php getPageField('ANY_PAGE_SLUG','metad'); ?> Alex RE: How to get META description to show? - j*z - 2017-12-22 (2017-12-06, 20:00:35)Alexander_ Wrote:(2017-12-01, 12:27:27)j*z Wrote: I'm using a custom theme I made years ago. Seems GS no longer supports this |