I am following this tutorial — “Display Your Popular Posts In WordPress Without A Plugin” and want to limit the max number of characters in the title that are displayed. Also, why is the thumbnail, at times, smaller than the number I define in the php?
I would like to filter the function the_excerpt to stop to find the first endpoint. Ex: “This is the article summary which ends at the endpoint with a full-stop.” Any idea is welcome.
I am trying to get only one post and this needs to be the latest one so here is what I am doing: $basic_args = $wp_query->query_vars; $basic_args[‘tax_query’] = $wp_query->tax_query; $aditional_args = array( ‘post__in’ => get_option(‘sticky_posts’), ‘ignore_sticky_posts’ => 1, ‘order’ => ‘desc’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 1 ); $normal_args = array_merge($basic_args, $aditional_args); $normal_query = new […]
I am using custom taxonomy plugin. And I have custom Post type “Product”. When I am creating new taxonomy “home and garder Appliances Washin” and attaching it to Post or “Product” it’s not registering with these while If I am adding just “home and garder Appliances Washi” and attaching with either Post or Product it […]
I am costuming a template. There is a list grabbing the introduction from the first 1-2 paragraphs (all the articles from a category). If I set the excerpt to 295 words, sometimes the list grabs additional words from the next paragraph. I would like to add a Read More tag to stop it. Can someone […]
It seems there’s a limit on the number of attachments of a post? I have 265 images uploaded for one of the posts (yes, I know it’s quite a few), and when I want to put them into order. The result: only 125 of them gets number, the others a left without one and also […]
I guess that this should be an easy one but I haven’t yet find the proper solution. I want to limit the depth of wp_list_pages so as not to display the pages of the last level. So supposing that parent page A has 3 levels of pages I only want to list first 2 levels. […]
Each day I manually delete the spam posted on my blog. The comments view allows a maximum of 20 comments in the view. When I have 200 spam entries – I need to click through 10 times to get rid of it all. Is there a way I can view 50 or 100 comments in […]
On a platform with many Editors, the problem that I am experiencing is that two editors proofread the same post simultaneously (and disregarding the warning notice about someone else currently editing the post). Is there a solution where I can restrict access to a post if it is currently being edited by a different user? […]
Any way to limit the number of pages that are created automatically by paging? I would limit to five pages in all, authors, tags, categories … Ex: “site.com/tag/news/page/5”, “…author/admin/page/5.” Thanks.