Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Browsing all 8245 articles
Browse latest View live

alanitech on "Programattically create post from outside wordpress"

Hi! I have a wordpress blog at mydomain.com/wordpress/wp-admin I have a separate web app at mydomain.com/secure-authentication/stuff I want to provide a tool at that separate webapp that (effectively)...

View Article


emaneric on "Need to replace IP address with FQDN in WP database"

Due to circumstances beyond my control, I had to build a WP web site in the public folder of a hosting account that could only be accessed by it's IP address rather than a fully qualified domain name...

View Article


Saeed Salam on "How to display an ad after a number of post in homepage?"

Hello, I have been searching for a way to display ads in my homepage. my homepage have 20 posts. and i want to show an ad just after 10th post. i got a code to add ads after every 10th post, but i only...

View Article

VOST on "Repeatable fields with dropdown lists of taxonomies' terms"

Hello, I am trying to put in place repeatable fields with drop-down lists containing terms from custom taxonomies. It is displayed beneath the editor field in one of my custom post type. Here is what I...

View Article

Francesca_M on "post_id to javascript var"

Hi, I'm looking for some help: I need, when the user click on 'read more', to save the post id in a javascript var. If i use: <div id="post-<?php the_ID(); ?>"> <script...

View Article


Ailsa Craig on "Custom page at bottom of normal page shortcode"

Hi, Trying to get a page to appear below a normal page via shortcode - code below works for inserting a 'page' below a 'page' but how would I alter the code to intsert a 'custom post typ' below a page....

View Article

robtheboss12 on "Have Users enter a current username to register"

I'm currently creating a site that only allow a user to register for the website only if they input the username of a current member. If the new user do not input the correct username. They will not be...

View Article

viperfunk on "Here's a problem"

I have a wordpress site with posts that have links to a custom php script (watermarking.php). The links look like: mysite.com/watermarking.php?file=blah&user=email@foo.com My watermarking script...

View Article


sem101 on "What's best practice for theme/plugin settings API for new dev?"

Hi, I'm new to theme & plugin dev, go easy on me :) There are 3 specific areas I'm trying to wrap my head around and understand what WP is trying to do with future releases, and how should I begin...

View Article


techofweb on "How to set permalinks as incremental integer values"

Hi... What I want is that the permalinks of my posts should be http://www.domain.com/71 domain.com/72 domain.com/73 Whenever I add a new post, it should show the url of post with +1 added integer and I...

View Article

asterbird on "show only authors posts with custom fields in admin"

I got the code from here: http://wordpress.org/support/topic/show-only-authors-posts-in-admin-panel-instead-of-all-posts?replies=32#post-1222413. Works great except it hides the custom fields too. How...

View Article

Robert.Vidrine on "Please explain Theme Customization setting default value"

I was very excited in 3.4 to see the Theme Customization come about, and have read a ton of stuff about it (including the OttoPress posts). I wrote a bunch of customizations for my theme, which will...

View Article

pjbursnall on "Remove theme options link from admin bar"

Hi, I am customising an admin panel for a client, using the AG Custom Admin plugin. The only thing I can't disable is the theme options link which sits to the left of 'New' link (for post, media, page)...

View Article


jmlmj on "How to make comments invisible for specific users"

Hi there, I'm new to the wordpress world and I'm interested in comment visibility. For example, I would like to do the following: 1. comments created by <user> are only visible to <user>...

View Article

KarinMA on "Changing the loop"

Hi! I have the code below that is set to pick up different cathegories. How can I change it to only search for category id=81 for example? I have tried different possibilities but can´t get this to...

View Article


dealfiles on "Exclude admin from custom function"

I took over a WP site that was developed by another person. They created a custom function in functions.php named wp_authors_directory (see code below). They then created a page template to display the...

View Article

wazzaday on "Hiding certain posts based on a condition"

I have a custom post type, called users, when a post is generated (via front end) it is given a date 5 days in the future. I want to hide all posts in the dashboard that are not 5 days old yet, and...

View Article


rchak2000 on "Add categories as class in function"

I'm having trouble adding a list of category name classes to the first LI. Ideally, i'd like the HTML output to be <li class="category1 category2 category3">. I've messed around with the...

View Article

mvandemar on "How to remove title and content boxes from a custom post type?"

Is there a way to eliminate the Title and Content boxes from a custom post type? I am setting up an inventory that has a Part Number, which I would like labeled accurately in the interface, and a part...

View Article

Mark Jansen on "Changing sample permalink"

Hello all, I have made myself a custom rewrite for a post type I've made. All 's well and all 's fine, but I run into a slight problem. When the post is auto saved, the permalink structure does not...

View Article
Browsing all 8245 articles
Browse latest View live