411 reputation
1413
bio website
location Bucharest, Romania
age 30
visits member for 3 years, 1 month
seen Mar 25 at 16:56

Mar
14
comment My wordpress website admin panel loads very slow, what can i do about that?
After you find the plugin that causes the slow down, you could try to check its code, but probably it will be easier to just replace it with another.
Mar
14
comment Login Page - Custom Background Image - Bottom cut
This is more of a CSS issue than WP. However, try to set the background with background-size: cover; and see if it works.
Mar
14
comment list posts from two categories on a page - plugin not working
Updated answer, sorry, I missed the part where you said that you're trying to list page categories not posts.
Mar
13
comment Theme customiser with conditional logic
It is possible but it's not an easy task. See this question for more info on the subject: wordpress.stackexchange.com/questions/145338/…
Mar
1
comment 301 Redirect Loop
Make sure you remove any redirects you might have in your DNS settings. Also, what's your Site URL: www.example.com or example.com?
Feb
28
comment How to prepare the HTML for Wordpress
No, there's not, since Underscore is a starter WP-theme, there's no point in having a 'theme' without the specific code that actually makes it a WP-theme.
Feb
28
comment Sorting posts to make those with post thumbnail show up first
You could use pre_get_posts to get all the posts with a featured image and then on your query list all the posts without one.
Feb
28
comment Sorting posts to make those with post thumbnail show up first
Just to clarify: you want to sort all the posts alphabetically but show those with a featured_image first, then the rest, all in one loop?
Feb
28
comment Find posts without featured image?
Check the answer to this similar question: wordpress.stackexchange.com/questions/25726/…
Dec
28
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.
Dec
28
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.
Dec
28
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.
Dec
27
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.
Dec
27
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
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
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...
May
10
comment What happens when permalink settings are updated?
The htaccess file has the correct lines. You can verify if the hosting company meets the requirements by doing a php_info(). However, most likely this issue is caused by a plugin. If you can't have the website offline, make a copy (search for Duplicator plugin) and work on a dev server.