WordPress.org

Profiles

PhPCentre

Profile picture of PhPCentre
  • Member Since: June 22nd, 2014
  • phpcentre.net
  • Find me on:

  • Posted a reply to "Link to date_query results in WordPress", on the site WordPress Support Forums:
    You need a custom query var.. http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/

    15 hours ago

  • Posted a reply to "Adding the datepicker in events plugin", on the site WordPress Support Forums:
    When working with js always use the browser console to help detect errors in your…

    1 day ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    Thanks to you too, so can you mark this issue as resolved please..

    1 day ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    The codes I gave you are working on my end and made the change in…

    2 days ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    The codes I gave you are working on my end. and made the change in…

    2 days ago

  • Posted a reply to "Custom field to custom taxonomy term?", on the site WordPress Support Forums:
    Use the isset() check for the post variable like so: if ( isset( $_POST['checkbox1'] )…

    2 days ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    Also if you don't like the javascript, you can use jquery, so the script can…

    2 days ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    Ok I have a solution for you, to stop the error "Please enter an email",…

    2 days ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    Ok I have a solution for you, to stop the error "Please enter an email",…

    2 days ago

  • Posted a reply to "Custom field to custom taxonomy term?", on the site WordPress Support Forums:
    Ok.. use this: //Custom field to custom taxonomy script $input_terms = array(); $input_terms[] = sanitize_text_field(…

    3 days ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    There is no need to create another js folder, you can use the folder (…

    3 days ago

  • Posted a reply to "Prevent users from changing e-mail address", on the site WordPress Support Forums:
    Just disable the email input field the same way the username input field is disabled,so…

    3 days ago

  • Posted a reply to "use international characters to slug", on the site WordPress Support Forums:
    Have you tried this solution http://wordpress.stackexchange.com/questions/50533/how-to-map-permalinks-with-accented-letters-to-sanitized-slugs

    4 days ago

  • Posted a reply to "Custom field to custom taxonomy term?", on the site WordPress Support Forums:
    You could use the explode function to break up the input value like so: $input_1…

    4 days ago

  • Posted a reply to "Post type tree loop", on the site WordPress Support Forums:
    Use this: $loop = new WP_Query( array( 'post_type' => 'your_post_type', 'post_parent' => 0 , 'posts_per_page'…

    5 days ago

  • Posted a reply to "Remove Tags From Being Displayed in get_the_tags function", on the site WordPress Support Forums:
    Use get_the_tag filter https://developer.wordpress.org/reference/functions/get_the_tags/

    6 days ago

  • Posted a reply to "display post for logged in user only", on the site WordPress Support Forums:
    Try this: global $wpdb; $current_time = current_time('mysql'); $author_id = get_current_user_id(); $ereminder_array = $wpdb->get_results( $wpdb->prepare(" SELECT…

    6 days ago

  • Posted a reply to "Display progress of an ajax call", on the site WordPress Support Forums:
    You could break up the calls into two, make the first ajax call for task…

    1 week ago

  • Posted a reply to "Watermark without plugins", on the site WordPress Support Forums:
    Use this wp_generate_attachment_metadata filter, it fires after creating thumbnails.

    1 week ago

  • Posted a reply to "Error fetching buckets:", on the site WordPress Support Forums:
    The time adjustment should be done on the requesting client( user pc ). Obviously the…

    2 weeks ago

  • Posted a reply to "Create own custom menu item", on the site WordPress Support Forums:
    Then use the add_menu_page() instead. http://codex.wordpress.org/Function_Reference/add_menu_page

    2 weeks ago

  • Posted a reply to "Create own custom menu item", on the site WordPress Support Forums:
    Use the add_theme_page() function http://codex.wordpress.org/Function_Reference/add_theme_page

    2 weeks ago

  • Posted a reply to "query posts and exclude current post", on the site WordPress Support Forums:
    Try this: 'post__not_in' => array( get_the_ID() ),

    2 weeks ago

  • Posted a reply to "Passing an array from a loop in one partial to another partial", on the site WordPress Support Forums:
    Let's see a screenshot of your design layout before and after moving the get_template_part('...').

    2 weeks ago

  • Posted a reply to "Passing an array from a loop in one partial to another partial", on the site WordPress Support Forums:
    @Somedude77 I think the typo error @ronangelo pointed out might be the issue with your…

    2 weeks ago

  • Posted a reply to "Tell sidebar archive to use a different archive page for output", on the site WordPress Support Forums:
    Ok I get your point now, so I suggest use the template date.php to display…

    2 weeks ago

  • Posted a reply to "Tell sidebar archive to use a different archive page for output", on the site WordPress Support Forums:
    You can exclude the featured post from the archive page using the meta value saved…

    2 weeks ago

  • Posted a reply to "Tell sidebar archive to use a different archive page for output", on the site WordPress Support Forums:
    Why don't you exclude the category of your featured post form the archive list as…

    2 weeks ago

  • Posted a reply to "Support for S3 bucket's folders", on the site WordPress Support Forums:
    Considering your support threads here , here and here, This Amazon s3 and cloudfront plugin…

    2 weeks ago

  • Posted a reply to "Custom Upload Path by File Type", on the site WordPress Support Forums:
    Use this code, but first of all make sure you set path ---( on ),…

    2 weeks ago

  • Posted a reply to "Add New "Display Name As" Option - Combination of Username and First/Last Name", on the site WordPress Support Forums:
    @Brayll the suggestion by @DanielAGW is by far the best solution I have found for…

    3 weeks ago

  • Posted a reply to "Adapting the 'Posts' menu", on the site WordPress Support Forums:
    Use the function register_post_type() to register a custom post type for your Products menu. http://codex.wordpress.org/Function_Reference/register_post_type

    3 weeks ago

  • Posted a reply to "Unprovided authorization mechanism", on the site WordPress Support Forums:
    Yes the error has something to do with the location of your bucket. You will…

    4 weeks ago

  • Posted a reply to "URL not rewriting correctly", on the site WordPress Support Forums:
    Obviously from the structure of your url, your settings option under domain should be "Bucket…

    4 weeks ago

  • Posted a reply to "Adding files to cloudfront when uploaded through plugin other than media uploade", on the site WordPress Support Forums:
    @ckunderd Please can you give me the github link where the issue has been reported…

    4 weeks ago

  • Posted a reply to "Adding files to cloudfront when uploaded through plugin other than media uploade", on the site WordPress Support Forums:
    The plugin just need to hook into the filter wp_update_attachment_metadata to upload to s3. Obviously,…

    1 month ago

  • Posted a reply to "html validation", on the site WordPress Support Forums:
    The attributes u, t, t2 the validator complained about are custom attributes used by the…

    1 month ago

  • Posted a reply to "PHP warnings", on the site WordPress Support Forums:
    So so sorry, now it's definitely fixed. I have updated the code on svn, Just…

    1 month ago

  • Committed [1095887] to Plugins Trac:
    commit

    1 month ago

  • Posted a reply to "Some Notice", on the site WordPress Support Forums:
    @r2d234 The Undefined offset notice has been fixed in the newer version of the plugin,please…

    1 month ago

  • Posted a reply to "Hard-coded paths and directories...", on the site WordPress Support Forums:
    @dahlskebank The hard-coded path and directories have been fixed, please check the newer version of…

    1 month ago

  • Committed [1095504] to Plugins Trac:
    commit

    1 month ago

  • Posted a reply to "PHP warnings", on the site WordPress Support Forums:
    Found the culprit for the undefined property notice,please upgrade to the newer version, both notices…

    1 month ago

  • Posted a reply to "A lot of 404 errors during plugin initialization", on the site WordPress Support Forums:
    @devlada Thank you so so much for pointing that out, I have not taking a…

    1 month ago

  • Posted a reply to "PHP warnings", on the site WordPress Support Forums:
    The first undefined offset I will fix in the next upgrade asap, but the undefined…

    1 month ago

  • Committed [1095351] to Plugins Trac:
    Tagging v 1.2

    1 month ago

  • Posted a reply to "Amazon S3 url is working fine but problem with Costom Domain", on the site WordPress Support Forums:
    For the cloudfront or custom Domain option, please refer to this doc on how to…

    1 month ago

  • Posted a reply to "wp_handle_upload", on the site WordPress Support Forums:
    On second thought your wp_insert_attachment() function according to the codex should be used in conjunction…

    1 month ago

  • Posted a reply to "wp_handle_upload", on the site WordPress Support Forums:
    The plugin hooks into the wp_update_attachment_metadata filter to upload to files to s3, and this…

    1 month ago

  • Posted a reply to "Changes in caption class", on the site WordPress Support Forums:
    @marties I did not change the css class for the caption, you suggested I use…

    1 month ago