Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Related pages
#1
Hi!

I would love to put on a page random links to childs of specific parent page. The number of childs displayed should be limited to the number i type.

I think of query template like:

PHP Code:
<div onclick="javascript:location.href='/<?php echo $item->slug; ?>'">
    <?
php echo htmlspecialchars($item->title); ?>
    <?php echo page_excerpt($item->slug0160'html'); ?>
</div> 

I hope it is easy to understand what I want to achive.

Many thanks!
Reply


Messages In This Thread
Related pages - by SalamandersPL - 2019-02-26, 20:28:18
RE: Related pages - by datiswous - 2019-02-27, 23:34:01
RE: Related pages - by SalamandersPL - 2019-03-04, 19:16:51



Users browsing this thread: 1 Guest(s)