Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Get a link to a record or page in any language version (Polylang)

<?php echo get_the_title(pll_get_post(17)); ?> //title
<?php echo get_permalink(pll_get_post(17)); ?> //link
<?php echo get_category_link(pll_get_term(7)); ?> //link to category
Source by denis-creative.com #
 
PREVIOUS NEXT
Tagged: #Get #link #record #page #language #version
ADD COMMENT
Topic
Name
2+8 =