Categories are not showing up according to the hierarchy

the categories can be order differently, it will depend of the arguments in the get_categories() function, once none is specified, it will assume the default. try this to have an idea: $cats = get_categories(); echo ‘<pre>’; print_r($cats); echo </pre>’; exit(); This will give you everything store in $cats variable. For example normally I use the … Read more

Images as Categories

Okay, this will be a 3 step process; Add a meta field to store the image in the category edit page. (Easiest way: ACF plugin) Create a short code to output HTML that retrieves that field and show them as the design you want. (In functions.php) (Optional) Edit your theme’s post template; remove the current … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)