WordPress.org

Profiles

x500.net

Profile picture of x500.net
  • Member Since: June 7th, 2012
  • @x500 on WordPress.org
  • Find me on:

  • Posted a reply to Add class to featured thumb array, on the site WordPress Support Forums:
    @rwilki Please find the corrected code below <?php $args = array( 'post__in' => get_option('sticky_posts'), 'cat'…

    3 years ago

  • Posted a reply to Custom Field: Display only if a specific value exists outside the loop, on the site WordPress Support Forums:
    What does get_the_ID() function returns in your code ? var_dump(get_the_ID()) Is the post ID correct?…

    3 years ago

  • Posted a reply to comment meta_query for keys that aren't yet set, on the site WordPress Support Forums:
    This seems to be related to bug #23268. Have you tried setting any value in…

    3 years ago

  • Posted a reply to change comment notification email to alert to new posts, on the site WordPress Support Forums:
    function notifyAdmins( $new_status, $old_status, $post ) { if ( ($new_status == 'publish') && ($old_status !=…

    3 years ago

  • Posted a reply to Add class to featured thumb array, on the site WordPress Support Forums:
    The :nth-child pseudo-class is a perfectly valid approach - well done. It may be also…

    3 years ago

  • Posted a reply to Add class to featured thumb array, on the site WordPress Support Forums:
    In theory (as I haven't tested the code) this should work: <?php $args = array(…

    3 years ago

  • Posted a reply to Sanitizing $_POST input, on the site WordPress Support Forums:
    I'd rather recommend to use filters functions designed for sanitization. You may also find php.net…

    3 years ago

  • Posted a reply to Fatal Error, on the site WordPress Support Forums:
    Can you just FTP to the server using credentials provided by your hosting provider (possibly…

    3 years ago

  • Posted a reply to amount of posts in loop, on the site WordPress Support Forums:
    Hard to say about plugin compatibility without checking its code.

    3 years ago

  • Posted a reply to Add fields for registration, on the site WordPress Support Forums:
    How about this plugin ??

    3 years ago

  • Posted a reply to amount of posts in loop, on the site WordPress Support Forums:
    How about this one: <?php $args = array( 'post_type' => APP_POST_TYPE, 'meta_key' => 'clpr_featured', 'meta_value'…

    3 years ago

  • Posted a reply to SSL causes web page to look odd, on the site WordPress Support Forums:
    You have some of the content transferred over http connection which some browsers (such Firefox)…

    3 years ago

  • Posted a reply to Can Two Sites (Sub-Domain) Use The Same Database/User Permissions, on the site WordPress Support Forums:
    You can either go with the WP netowrk installation http://codex.wordpress.org/Create_A_Network and separate domains, or use…

    3 years ago

  • Posted a reply to Embed Spotify, on the site WordPress Support Forums:
    Follow this guide

    3 years ago

  • Posted a reply to iframe Not Displaying Properly in WordPress, but doing fine in regular HTML, on the site WordPress Support Forums:
    When pasting the code, first switch to text mode instead on wysiwyg. Click update, check…

    3 years ago

  • Posted a reply to iframe Not Displaying Properly in WordPress, but doing fine in regular HTML, on the site WordPress Support Forums:
    Please provide a link to the code placed in WP.

    3 years ago

  • Posted a reply to Search entire site for URL and replace with a different URL?, on the site WordPress Support Forums:
    You need to bind the function to a particular filter that way: add_filter('content_save_pre', 'mySearchAndReplace'); Place…

    3 years ago

  • Posted a reply to Search entire site for URL and replace with a different URL?, on the site WordPress Support Forums:
    Yes, you need to apply filter to every section you want to replace string within.…

    3 years ago

  • Posted a reply to Search entire site for URL and replace with a different URL?, on the site WordPress Support Forums:
    function mySearchAndReplace($content) { $str='http://www.example.com/login'; $replacement='http://www.example.com/login?redirect_to=http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $content = preg_replace( '@' . preg_quote($str,'@')…

    3 years ago

  • Posted a reply to Import posts to a New Post Type, on the site WordPress Support Forums:
    If you want to change all posts to different post type, you can try sql:…

    3 years ago

  • Posted a reply to Where is add_action() for get_header is defined...?, on the site WordPress Support Forums:
    add_action is a global function, read more here

    3 years ago

  • Posted a reply to Search entire site for URL and replace with a different URL?, on the site WordPress Support Forums:
    Something like this plugin?

    3 years ago

  • Posted a reply to video shortcode autoplay and player size in WP3.6, on the site WordPress Support Forums:
    wp_video_shortcode takes more arguments from what I can see here $args=[ 'autoplay' => true ]…

    3 years ago

  • Posted a reply to How do you display something like "No posts" for categories without posts?, on the site WordPress Support Forums:
    paste the category template code, the if (have_posts()) part up to endif;

    3 years ago

  • Posted a reply to How to change Image Link For All Images,, on the site WordPress Support Forums:
    If it's an image inserted into post content, click on the Add Media button above…

    3 years ago

  • Posted a reply to custom email recipient in comments notification e-mail, on the site WordPress Support Forums:
    WordPress Codex - comment_post You can try this: add_action('comment_post', 'notify_author_of_reply', 10, 2); function notify_author_of_reply($comment_id, $approved){…

    3 years ago

  • Posted a reply to Jump to page anchor from any page, on the site WordPress Support Forums:
    What are you trying to achieve? Dynamic creation of links on a posts page or…

    3 years ago

  • Posted a reply to Jump to page anchor from any page, on the site WordPress Support Forums:
    try with no http protocol declaration and make sure the url starts with / /#service…

    3 years ago

  • Posted a reply to Auto adding paragraphs to custom fields with 'wpautop'?, on the site WordPress Support Forums:
    <?php // so you declare a new variable here called $myLongDescription // then assign to…

    3 years ago

  • Posted a reply to Index.php appears twice in URL, on the site WordPress Support Forums:
    Can you find paginate_links function in index.php or category.php file?

    3 years ago

  • Posted a reply to Auto adding paragraphs to custom fields with 'wpautop'?, on the site WordPress Support Forums:
    <?php $myLongDescription = get_post_meta($post ->ID, 'long-desc',true); ?> <p id="long-desc"> <?php echo wpautop( $myLongDescription, false );…

    3 years ago

  • Posted a reply to Index.php appears twice in URL, on the site WordPress Support Forums:
    When you now go to http://nonaorbach.com/blog/index.php/page/2/ and click pagination links for page 2 and up…

    3 years ago

  • Posted a reply to Foreign keys, on the site WordPress Support Forums:
    This may be helpful.

    3 years ago

  • Posted a reply to Index.php appears twice in URL, on the site WordPress Support Forums:
    And what is the current permalink structure? Can you point me to a page where…

    3 years ago

  • Posted a reply to links linking back to mysite.com/WP/ instead of real home page, on the site WordPress Support Forums:
    Have you installed your WordPress in WP directory?

    3 years ago

  • Posted a reply to Cannot modify header information - headers already sent by, on the site WordPress Support Forums:
    and one more thing... paste the wp_deregister_script from your functions file as it's hard to…

    3 years ago

  • Posted a reply to Plugin / Theme file path, on the site WordPress Support Forums:
    function ScriptsAndCSS() { wp_enqueue_style($this->plugin->name.'-bootstrap', get_template_directory_uri().'/css/bootstrap.min.css'); }

    3 years ago

  • Posted a reply to Added more to my root permalink than needed, on the site WordPress Support Forums:
    Can you paste content of permalink structure you're using at present?

    3 years ago

  • Posted a reply to Offset Archives / target all monts after, on the site WordPress Support Forums:
    Maybe you don't need to set the limit for the query and just hide part…

    3 years ago

  • Posted a reply to url path with children pages of a frontpage static page, on the site WordPress Support Forums:
    Hmm, how about adding custom field to each post you want to appear on home…

    3 years ago

  • Posted a reply to url path with children pages of a frontpage static page, on the site WordPress Support Forums:
    This is a default structure that WP will keep for parent/child pages. Is there any…

    3 years ago

  • Posted a reply to Custom Field inline with page title?, on the site WordPress Support Forums:
    <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="page-<?php the_ID(); ?>"…

    3 years ago

  • Posted a reply to Custom Field inline with page title?, on the site WordPress Support Forums:
    Maybe echo its value within the same html tag where the title is? It's kinda…

    3 years ago

  • Posted a reply to Pages with different Permalinkstructure, on the site WordPress Support Forums:
    Dashboard -> Settings -> Permalinks -> select Custom Structure use this: /blog/%category%/%postname% Click Save Changes…

    3 years ago

  • Posted a reply to Printng text of a post but remove some words, on the site WordPress Support Forums:
    something like this?? query_posts('cat=10&name=Elvis&posts_per_page=1'); if (have_posts()) : while (have_posts()) : the_post(); echo '<div class="title">' ;…

    3 years ago

  • Posted a reply to Footer aligning differently in Safari and Firefox, on the site WordPress Support Forums:
    You may struggle with aligning it to center as wrapping div and each of the…

    3 years ago

  • Posted a reply to How to create a page for testing outside WP takeover, on the site WordPress Support Forums:
    Maybe a rewrite rule placed right after RewriteEngine On could help here? RewriteRule ^(file_name\.extension) -…

    3 years ago

  • Posted a reply to Open Graph Madness! (FB showing wrong titles...), on the site WordPress Support Forums:
    It doesn't seem that you have the Yoast plugin installed anymore (which is a bloody…

    3 years ago

  • Posted a reply to Custom Field inline with page title?, on the site WordPress Support Forums:
    You can use ACF plugin and follow the instructions in documentation. If you don't want…

    3 years ago

  • Posted a reply to Index.php appears twice in URL, on the site WordPress Support Forums:
    How about trying this custom permalink structure and leaving category and tag base empty?? /%category%/%postname%-%post_id%

    3 years ago