robbiet63 on "Thickbox height/width on admin menu page sized to default- Can...
My thickbox is working, displaying a photo from URL, but the height and width are not adjusted. (The code from my plugin is below.) The result is a thickbox that appears to be sized according to a WP...
View Articlem0nty on "How to make Displayname & nicknames Unique"
I've seen many requests for this, but no solutions. So a colleague and I spent the last few hours figuring this out. It's quite dirty, but does the job, just place it in your theme functions.php on a...
View Articlevictor_jonsson on "Best way to create a css file dynamically"
Hi there! What would be the best way to dynamically generate a stylesheet in a theme? I can think of three different solutions: 1) Having a separate file in theme and assume where the file wp-load.php...
View Articlejaruzelskee on "Saving email-adress to other DB than WP while registering"
I'm trying to save an user email to separate DB while registering and I'm modifying wp-includes/user.php file but I can't make it work. I will be grateful for your help. line 1394: <?php if (...
View Articledamian.smith on "calling featured images from child pages"
Hey guys I have this function below, that calls the information of child pages into the parent page. All works perfectly except the featured images act strangely. The featured imahes should sit inside...
View Articlesomtam on "get the attachment only if the post status of the parent is...
Hello everybody. I have to made an attachment archive by custom taxonomy. I don't know why the page of the term, like mysite.com/custom_taxonomy/attachment_term, doesn't work. Anyway I decide to write...
View Articlezen047 on "how i can create page - post of user login (online now)"
hello ; i need help plz i want to create a page containing the addresses and links of post for the user online now(is login), by Category For example page : post user online Category 1 xxxxx - xxxxxx...
View Articlesaracup on "My Custom Permalink Variable Plugin"
I developed a small plugin to be able to add a custom taxonomy as a string to a post. I've included the variable in a custom permalink string. This string is used by Apache to determine if external...
View ArticlelinnieA on "Add class to first and last div"
Hello! Unfortunately, my php skills aren't great, so I could really use some help on the following. I'm displaying related posts in single.php. Now I'd like to add the class .first to the first post en...
View ArticleOne234 on "Adding meta box with action button"
Hey guys, i want to create a small newsletter plugin, which can send the mails out of the edit post page. I will add a metabox, and dont know how to create a button in this metabox which will start my...
View ArticleLeoAltair on "remove_action not removing action (on wp_widgets_init)"
Hi ! I'm trying to get rid of the default Wordpress widgets, as I do not use them. Since they are launched by add_action('init', 'wp_widgets_init', 1); I tried remove_action('init', 'wp_widgets_init',...
View Articlesora4222 on "Pretty Urls and get_query_var being used"
I am attempting to use get_query_var to perform pagination however this is not on a static homepage its on a news page that is certainly not the main page. Originally I thought it was my syntax with...
View ArticleMcGuive7 on "How to get URL of admin menu item?"
Hi there, Is there a simple way to get the URL of admin menu items? I've grabbed the gobal $menu and $submenu arrays which contain quite a bit of info about each menu item, but digging into...
View ArticleSchwarzwaldFalke on "add_rewrite_rule if permalinks are disabled"
Hi, I'm working on a simple wordpress plugin for my university, which uses some rewrite rules. Currently I try to rewrite all requests to wp-login.php to a post with a custom post type. This is...
View Articleadd_control in function"">Laura Fischer on "Use radio value from $wp_customize->add_control in function"
function wf_customize_register( $wp_customize ) { // Colour Schemes $wp_customize->add_section('colour_scheme', array( 'title' => __('Colour Scheme', 'wf'), 'priority' => 200, ));...
View ArticleJonas Lundman on "Manipulating register_post_status() setup on pageload"
When register custom post status in my functions.php. Can I provide diffrent args for diffrent user views? Will this type of manipulating totally be "out of how to?". Ive been searching for an answer...
View Articlehanbr on "Modify post meta before inserting new post"
Hi! I'm trying to modify the post meta before inserting a new post. I can't finda anyway to do this. The closest I get is the wp_insert_post_data filter, but there I think I can only modify the $data...
View ArticleEliot Akira on "Object-oriented programming advice: Custom Content Shortcode"
Hello all - I'm pretty familiar with PHP for building templates and plugins, but only recently started studying OOP and using classes. I'm writing a plugin with two shortcodes, [loop] and [content]....
View Articledcumberland on "Adding featured image to custom RSS feed"
I'm working on setting up a custom RSS feed so that I can offer a nice & clean weekly summery of my blog to my readers via Mailchimp. I followed these instructions by Yoast to set up a custom feed....
View ArticleRahul Chowdhury on "Create a Page like FaceMash using Wordpress"
Hi, I want to create a page which is similar to the site FaceMash set up by Mark Zuckerberg. There are plugins for it, but I want to do this without any plugin. The idea is showing random images on a...
View Article