bbarton
Forum Replies Created
-
Forum: Hacks
In reply to: personal_options_update not saving custom user fieldsResolved
Forum: Hacks
In reply to: Custom post type issueAdd Coupon was clicked through the Coupons tab, but settings is highlighted,
https://www.dropbox.com/s/b065xke96z9372s/Capture.PNGForum: Plugins
In reply to: Insert Image url to specific text field by IDThose refer to multiple uploads, I am wanting to be able to add an image URL to a text field. I want to have multiple text fields on a page, that when each field is clicked the media uploaded is opened and an image can be selected, therefore that image URL will be inserted into the selected field.
Forum: Hacks
In reply to: $wpdb not working for me.while($row = mysql_fetch_row($result)) { echo "<tr>"; echo "<td>"."<center>".$row[0]."</center>"."</td>"; echo "<td>" . $row."</td>"; echo "<td>".$row."</td>"; echo "</tr>"; }You left out the array key reference on two of the $row variables?
Forum: Hacks
In reply to: $wpdb not working for me.This
<?php if ($row(0) = $current_user->logged_in) {//do something...} ?>should be
<?php if ($row[0] = $current_user->logged_in) {//do something...} ?>Why is $wpdb not working? Are you calling global $wpdb?
Forum: Hacks
In reply to: Add menu page without submenuAlso, only the first add_sub_menu menu-slug needs to be the same as the add_menu_page.
Forum: Hacks
In reply to: Add menu page without submenuTry this
add_menu_page( $page_title, $menu_title, $capability, $menu_slug, null, $icon_url ); add_submenu_page( $same_as_add_menu_page_slug, $page_title, $menu_title, $capability, $same_as_add_menu_page_slug, $function );add_menu_page has null value as the function.
Forum: Developing with WordPress
In reply to: [shortcodes] [Plugin: shortcodes] select menu shortcodeAre you trying to parse a nested shortcode tag? Can you provide your shortcode?