ankitgadertcampcom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: is_page not workingHello Luke,
There may be following possibilities:
1. You are using this code inside the Loop.
2. ‘goody-box’, ‘double-goody-box’ are not pages, it may be posts.You cannot use is_page within the LOOP, so please check it once and let me know.
Forum: Fixing WordPress
In reply to: `wp_editor` editor_height is broken?Hello Ciantic,
Hope you are doing well.I have tried adding wp_editor in different themes and templates by increasing and decreasing height by 500, but it is intact. It seems that there is certain issue with your theme. Please change your theme once and see if it still breaks.
Let me know your response.
Forum: Themes and Templates
In reply to: Different stylesheet for homepageHello Mellissaa,
Hope you are doing well.
If you have created separate template for your homepage and you have assigned it from dashboard -> setting -> reading -> front page
Then please follow the code written below.
function add_custom_stylesheet(){if( is_front_page() ){
wp_enqueue_style( 'mycustomstyle', get_stylesheet_directory_uri().'/path/to/your/stylesheet' );
}}
add_action('wp_enqueue_scripts','add_custom_stylesheet');If you haven’t created any template and just using theme as it is (which I’m seeing on your site ?? )
Follow below mentioned code.
function add_custom_stylesheet(){if( is_home() ){
wp_enqueue_style( 'mycustomstyle', get_stylesheet_directory_uri().'/path/to/your/stylesheet' );
}}
add_action('wp_enqueue_scripts','add_custom_stylesheet');Please replace ‘/path/to/your/stylesheet’ by proper path according to your theme. get_stylesheet_directory_uri() will return the url up to your theme’s style.css and then you have to add relative path to your custom stylesheet.
Hope this will help you.
Let me know if any query. ??Answer for this has been posted in subsequent question on support forum.
If you want to create menu for custom post type you have to set it accordingly from appearance -> Menus
Hello yeanqus,
Suppose my site name is https://abc.com and I have created a custom post type named “xyz” then you can view the posts in newly created custom post type by using https://abc.com/xyz on this url ( Remember this is just an example )For the custom taxonomies ( which you calling categories ) you have created , suppose I created a taxonomy “Country” and entered a term in it as “Russia” then it can be viewed on https://abc.com/country/russia
Note: Whenever you will create new custom post type or taxonomy please save the permalink structure once.
Hope this will help you , please ask if any other help is required.
Regards.
Ankit.Forum: Plugins
In reply to: [Custom Post Type and Taxonomy GUI Manager] Delete Custom TaxonomyHello,
Currently this functionality has not been implemented, you will get this functionality plus many others in next version of this plugin.Regards.
Forum: Plugins
In reply to: [Custom Post Type and Taxonomy GUI Manager] Why was this plugin created?It is created with the essence of its simplicity.
Yes there are too many plugins available, but my plan is to add every possible functionality to this plugin in future versions, so that an average user can also handle wordpress smartly.Thanks for showing your interest .
Following above step is vital for proper functioning of plugin.