304 reputation
39
bio website
location Bucharest, Romania
age 29
visits member for 2 years, 10 months
seen 1 hour ago

9h
comment Add role that restricts user to post in specific category
Yes, that's correct. I modified the code again and I've included a function which will help you check if the current user has a specific role.
9h
revised Add role that restricts user to post in specific category
added function to check for role
21h
comment Add role that restricts user to post in specific category
I've updated the code with more explanations and I've replaced the check for category slug with a check for category ID.
21h
revised Add role that restricts user to post in specific category
code updated with cat_ID and more explanations
22h
comment Getting custom post type author and date published
That's the default function from underscore. Please add the code that you've added to the theme, like the pre_get_posts function or the loop you're using.
22h
answered Add role that restricts user to post in specific category
22h
comment upload_async.php returns 500 error
I had a similar problem, when I was uploading large image files the server ran out of memory. Having more active plugins means less available RAM. Increase the available RAM or decrease the image size. Alternatively, you could try to calculate how much RAM you would need for your uploads.
23h
comment Getting custom post type author and date published
Please include relevant code in your question otherwise it's hard to identify the problem.
Dec
22
comment Add custom WP_Query after the first 3 posts
You're right, thanks! Don't know how I didn't saw that.
Dec
22
asked Add custom WP_Query after the first 3 posts
Dec
19
comment Filter URL and shortcodes from the_excerpt
But it's not a custom shortcode: codex.wordpress.org/Audio_Shortcode
Dec
19
comment Filter URL and shortcodes from the_excerpt
I've updated the questions with a few examples, hope now it's a bit clearer what I'm looking for. Regarding any filters, as I said in the original question, except for the excerpt_more and excerpt_length I don't have any other filters on excerpt or content.
Dec
19
revised Filter URL and shortcodes from the_excerpt
included some examples
Dec
18
comment Filter URL and shortcodes from the_excerpt
Ok, so that's the normal behavior of the_excerpt: to show the URL. Is there any way I could hide the URLs? And no, I don't have any active filters.
Dec
18
comment Filter URL and shortcodes from the_excerpt
Yes, that is correct, but the post will still display the URL of the shortcode (if it's an youtube, mp3 or anything embeddable). If I put a filter to remove the URL from the_excerpt, then the post will show the shortcode. Maybe if I try a regex to remove the URLs and then also a strip_shortcodes...
Dec
18
asked Filter URL and shortcodes from the_excerpt
Dec
13
revised Display custom nav menu input only for parent-items
found solution
Dec
12
asked Display custom nav menu input only for parent-items
Dec
4
asked Divide / Break sidebar in two
Oct
14
answered Pagination not working in secondary query