The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conditional tags
#8
Connie Wrote:I added these 2 tags to the WIKI, but I ask to add a correct explanation, as I am not so firm in that!
This is an old thread and return_parent() was depreciated for v3.0.

There is phpdoc format help for get_parent() in admin/inc/theme_functions.php:
Code:
/**
* Get Page Parent Slug
*
* This will return the slug value of a particular page's parent
*
* @since 1.0
* @uses $parent
*
* @param bool $echo Optional, default is true. False will 'return' value
* @return string Echos or returns based on param $echo
*/
--
Nick.
Reply


Messages In This Thread
Conditional tags - by Live - 2010-11-27, 09:01:06
Conditional tags - by Live - 2010-11-27, 09:05:06
Conditional tags - by yojoe - 2010-11-27, 17:27:21
Conditional tags - by Carlos - 2010-11-27, 20:54:50
Conditional tags - by Carlos - 2010-11-27, 21:55:14
Conditional tags - by yojoe - 2010-11-27, 22:10:04
Conditional tags - by Connie - 2011-04-28, 20:16:50
Conditional tags - by hameau - 2011-04-28, 22:27:45
Conditional tags - by Connie - 2011-04-28, 22:33:02
Conditional tags - by hameau - 2011-04-28, 23:03:13
Conditional tags - by RobA - 2011-04-29, 01:41:16
Conditional tags - by [/root.] - 2011-08-31, 17:17:03
Conditional tags - by Carlos - 2011-08-31, 17:35:06



Users browsing this thread: 2 Guest(s)