lasthope
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
im enabled cageFs , so change php.ini for php 5.6 in /opt/alt/php56/etc
and problem resolved 🙂
thank you for your answer
im server owner , and im edited php.ini and set memory limit to 512M
im edited wp-config.php and add defing(wp_memory_limit,512M);but problem not resolved
Forum: Themes and Templates
In reply to: get sub catsi using this code :
<?php $this_cat = (get_query_var('cat')) ? get_query_var('cat') : 1; ?> <?php $this_category = get_category($this_cat); if ( $this_category->parent ) { $this_cat = $this_category->parent; } ?> <?php wp_list_categories('child_of=' . $this_cat . ''); ?>from this topic :
https://wordpress.org/support/topic/list-child-categories-of-current-category-page?replies=6and working fine 😉
thank you <3Forum: Themes and Templates
In reply to: get sub catsthank you
-
<?php wp_list_categories(‘child_of=’ . get_query_var( ‘cat’ ) ); ?>
bu two notes :
1 – this show “categories” title , how to hide ?
2 – in categories its working fine , for example :
i go to website.com/learning , showing {cpanel,whm,whmcs , …}
but when click on a post of this category , category box is destruct …You can give an email address do I send the screenshot?
Viewing 4 replies - 1 through 4 (of 4 total)