Allow duplicate permalink slugs for posts in different categories
I have my permalink format set to /%category%/%postname%/ and I have two posts with the same permalink slug, but in different categories.
I have my permalink format set to /%category%/%postname%/ and I have two posts with the same permalink slug, but in different categories.
I believe your issue is that the value set for the global $content_width variable (which is 640px in Boilerplate and 584px in Twenty Eleven) is less than the width you’re specifying via Settings -> Media.
While following this article to get tags by date, I was wondering if I could exclude certain tags from what gets returned. The point is to have trending tags but some tags will always be there and I don’t want to include those ones.
I currently developing a wordpress plugin that is using two custom post types. What I want to know here: is it possible to add a custom post type menu as another custom post type’s sub menu?
I used custom post type, where ‘thumbnail’, ‘medium’ and ‘large’ sized not required. I need to disable this sizes and create function or plugin, where i can set, which image size is required for each custom post type.
I have an issue in my new theme.
my website is about Education for teachers and students. every post belongs to one teacher that students can talk to her/him via comments.
now, i want to add a special thing to any post. i want to have two comments_template() in one post with pills (bootstrap). in one, student can just ask their questions but in another, they can do review and rating.
in fact i need to use different comments_template file for every one.
For future reference:
I am using the great Meta Box Plugin to help expedite meta box creation for my custom post types.
I’m not sure why I haven’t been able to find this, but does anyone know how to get the input of the TinyMCE editor? I am using it in the front end and want to be able to save whatever the user has typed into the TinyMCE to a database but cannot find the best way to capture that value.
I’m creating a custom post form that is supposed to take an external image and uploads it to the media library and attach it to that post. This should be possible by using media_sideload_image, but I’m getting a blank page instead of working correctly, no error either. My code:
I am currently am working on a custom theme. In this theme, I have a menu that I registered using register-nav-menu, and then I am displaying the menu to my web page using the wp_nav_menu function.