tilia45
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Switching accounts in envatoHi there,
I’m not affiliated in any way with Envato, or a customer.
It might be a good idea to contact the theme author, let them know the situation, and see if they’ll be willing to answer your technical questions even though you’ve bought a theme support license for your client.
Forum: Fixing WordPress
In reply to: Post Category shortcodeYes, you can have links too. You can modify the shortcode function to include links to category archives, or there’s a readymade function that does most of the work for you.
get_the_category_list()https://developer.wordpress.org/reference/functions/get_the_category_list/
Forum: Fixing WordPress
In reply to: Comments not available since updating to 4.9Hi there,
If I understand your question, there’s a Screen Options tab located on the upper right corner of the window that you can use to hide/display the different boxes with options. The Allow comments option is included in the Discussion box, so you can check the box next to Discussion to have those displayed on your other dashboard.
There’s more information here:
https://codex.wordpress.org/Administration_Screens#Screen_Options
Forum: Fixing WordPress
In reply to: Post Category shortcodeHi there,
You’ll find some helpful information in the function reference:
https://developer.wordpress.org/reference/functions/get_the_category/
One important thing to know about
get_the_category()is it returns an array of objects. So to display the category names in a post you’ll need to loop through that array. Here’s an example:function shortcode_post_category () { $html = ''; $categories = get_the_category(); foreach( $categories as $category ){ $html .= '<span>' . $category->name . ' </span>'; } return $html; } add_shortcode( 'post_category', 'shortcode_post_category' );Forum: Fixing WordPress
In reply to: 404 ErrorHi there,
Yes there is a way to deactivate/remove the plugin. You can use either of the two options outlined here:
Forum: Developing with WordPress
In reply to: Order post by post metaHi navixeldeveloper,
It might help to see the code. Can you post the code that you’re working with into a pastebin, or a Github gist or similar and post the link here?