tnoguchi on "Paginated Custom Post Type Archive: 404 Error"
I've been getting a 404 error on a CPT archive page, and am not sure why. I can go to the page set for the custom post type archive, but the next page /mycustomposttype/page/2 gets a 404 error. I don't...
View ArticleAndySpeed on "Display random recent post custom field"
Hi, I am looking to display, in a random order, a custom field from any one of the five most recent posts which: 1) have something in the custom field 2) fall within the specified category What I have...
View Articletechaddict on "How to create sub category via xml rpc ?"
I am using ready made code found on some blog online via it i am able to post a blog post with categories and keywords on blog via xml rpc. But i am unable to create subcategory. Is there any way to...
View Articlemrfraz on "get last comments | with pop-up link"
hey, i found a code snippet for last comments on a static page: but i use comments only with a pop-up. <?php comments_popup_link('0 Comments', '1 Comment', '% Comments', 'comment-link-top',...
View Articlemrfraz on "order get_the_tags()"
Hey, it's possible to order the tags with this code? i have two tags, but i want to show only one. maybe the one with the most posts, or only "this tags"... or something like this? but not sort.....
View ArticleLuismin on "WordPress do not create more custom fields"
Hi guys! My problem is that I can not create more custom fields inside my custom meta boxes. I have this: function add_custom_meta_box_productos() { add_meta_box( 'custom_meta_box_productos', // $id...
View ArticleRoyBoy on "tag page"
Hi my tag page isn't working with wp_query() I decided to get the tag from the querystirng: $tag = basename($_SERVER['REQUEST_URI']); and then query by taxonomy: $args = array('post_type' =>...
View Articlefreakable on "How to mass edit post date publish?"
I want to export about 1000 post to my wordpress blog. How can i mass edit them, to publish from: 2013-06-24 to 2014-06-24 I want to publish posts about 3 per day, not 1000 per. It's even possible to do?
View Articlestiwdio on "comment form"
Hi I'm trying to input an initial value and clear it when clicked; here is the code taken from the includes comment-template.php 'author' => '<p class="comment-form-author">' . '<label...
View Articlewesww on "Custom admin panel based on user roles"
I solved my own problem which might be useful for others. Building on hacks like this (10-wordpress-dashboard-hacks) I needed to customize the admin panel. However, I needed to be able to have...
View Articledad2four on "How do I add linked custom PHP page to plugin"
I am attempting to build my first plugin. I have a form that collects the infon necessary to create a post. Before I allow the post to go into the Database I need to force the user to accept my TOS. I...
View Articlescrol on "Change the default state of media library"
If your site contains thousands of files, media library try to load All of them, but not Uploaded to this post first. This cause hanging of interface. After long excavations of library i've find the...
View ArticleOaksey on "Custom insert/edit link in WYSIWYG"
Hi All - I wonder if anyone can help with this request or possible hack? As everyone knows, when using the WYSIWYG editor in a page or post, you can highlight and piece of text and you click the...
View Articlerekkette on "Basic PHP question (If Or Else)"
Hi! I'm trying to apply some basic styling, but I'm having a problem figuring out the proper syntax for my PHP statement. It should more or less read "If !is_front_page OR !is_posts_page DO THIS else...
View Articleshazdeh on "using conditional tags before "wp" hook"
As the codex page explains, "wp" is the earliest hook that conditional tags can work. I'm in a situation where i need to run these on 'plugins_loaded' hook and so these functions don't work anymore. Is...
View Articlehuynguoidacbiet on "how to put in if clause ?"
i use this code to echo thumbnail for first post in loop. [ Moderator Note: Code backticks fixed. ] <?php $count = 0; $loop_baihoccuocsong1 = new WP_Query('cat=3&showposts=1'); // Them category...
View ArticleTinwetari on "Mobile: horizontal swiping for category queries"
Hi everyone, Knowledge background: I'm well versed in HTML/CSS, and quickly growing proficient in PHP within the past year. I've been working with Wordpress for a year now. Problem: I have a page that...
View Articlegroncali on "appointment booking plugin with a credit system"
Hi Matt, you could use Bookeo online bookings (http://www.bookeo.com), where you can assign credits from the back end, that can be redeemed against online bookings. We do have a wordpress plugin. Feel...
View Articlesammies on "custom static front page with posts"
Hi all I really need some help here. Can anybody direct me in the right direction? I would be really grateful the problem I am having is the following; I have a static front page on which I would like...
View Articlelonchbox on "wp_nav_menu exclude post or page by ID"
Hi, I know there is any mention to exclude parameter for wp_nav_menu in the codex, but also found some posts saying this is posible, I try many of it and don´t work. In my case I´m creating a custom...
View Article