GO BACK

Contact Us

5-E / 22 BP , 2nd Floor
Near BK Chowk
121001
Faridabad (Haryana), INDIA

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: How can i Hide url parameters on Google #2047
    admin
    Keymaster

    Hi Nelly,

    It is very easy to hide parameters in Google.

    Just follow these steps.
    What it require? website should be submitted in Google webmaster.

    Follow Google Webmaster –> Crawl –> URL Parameters

    after that click Configure URL parameters »

    than click add parameters

    add parameters which you want not to index in Google.

    Regards

    in reply to: Magento CMS Block categorie infos #2045
    admin
    Keymaster

    Hi Nelly,

    If you want to call a CMS static block in a phtml file you can simply use following :

    getLayout()->createBlock(‘cms/block’)->setBlockId(‘block_identifier’)->toHtml(); ?>

    If it doesn’t fix your issue please explain more. As you have stated :

    “I have different categories for example ID1=Name1, ID2=Name2”

    This is confusing.

    in reply to: How to Display content in Google Search like this? #1987
    admin
    Keymaster

    Hi Andy,

    this is not any user control because Google do this itself. After changed in search display strategy. Google start displaying information on single word and well known topic search. With this latest search result pattern Google ate lot of out going clicks. Because after reading needed information user don’t click on websites.

    in reply to: Referral Spam #1983
    admin
    Keymaster

    Hello Aakash,

    This referral spam does not hurt your SEO. Most of these are “ghost referrals”, meaning they don’t actually hit your server, but only show up in analytics. It will not influence how well you will do in search engines, it’s merely a pain in the behind when trying to accurately track incoming traffic to your site.

    I’d recommend filtering them out within google analytics via hostname instead.

    I think the link provided can help you in understanding better :- https://moz.com/blog/stop-ghost-spam-in-google-analytics-with-one-filter

    Thanks.

    in reply to: How to enable pagenation in Genesis Framework? #1978
    admin
    Keymaster

    Hello,

    To add pagination to comments, you can use the following example:

    You will need to set up the options in SETTINGS > DISCUSSION for paging to work.

    The easiest way to do so is with the following function, which prints out a link to the next and previous comment pages, as well as a numbered list of all the comment pages.

    $args = array(
    	'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
    	'format' => '?paged=%#%',
    	'current' => max( 1, get_query_var('paged') ),
    	'total' => $wp_query->max_num_pages,
            'before_page_number' => '<span class="screen-reader-text">'.$translated.' </span>'
    ) ;
    paginate_comments_links($args);
    

    This will give you the numbered pagination.

    Hope this will help you.

    Thanks

    in reply to: Domain repeats in title in wordpress website #1936
    admin
    Keymaster

    Hi Bhavna,

    First create child theme of your theme to be safe from unwanted errors. Now copy php files from parent theme to child theme. Open header.php into your child theme

    now find

    <title><?php wp_title(‘|’, true, ‘right’); ?></title>
    and replace it with
    <title><?php wp_title(); ?></title>
    this will solve the issue.
    in reply to: How to Remove Bad links pointed to website? #1935
    admin
    Keymaster

    Hi,

    Since Google Penguin update everybody wants to remove their back links (bad-links).

    There are two ways to remove backlinks.

    1. You’ve to mail those website to remove your backlink. (Website responses are very low. ) This is very difficult task to handle.
    2. Follow Google guidelines on disavow tool. Add all bad links to notpad.txt and upload it into Google Webmaster Disvow tool.

    This will tell Google do not pass any page rank juice from these bad links to your website.

    Use 2nd method to stop getting backlink juice from harmful website.

    in reply to: Keyword Cannibalization #1932
    admin
    Keymaster

    Hello Vikram,

    The term “Keyword Cannibalization” actually refers, the excessive reuse of the same keyword on too many web pages within the same site. This practice makes it difficult for the users and the search engines to determine which page is most relevant for the keyword.

    Hope this will help you in understanding the term “Keyword Cannibalization” in a better way.

    Thanks.

    in reply to: IP address restriction on website #1927
    admin
    Keymaster

    Hi Raven,

    First you have to create an array of ip address which you want to allow to access website.

    Ex : $ip_array = array(“ip_address1”, “ip_address2”, “ip_address3”);

    Now you have to get the client ip address :

    $client_ip = $_SERVER[‘REMOTE_ADDR’];

    After that you have to check if client ip address exists in your ip address array or not

    if(in_array($client_ip, $ip_array)){
    // Allowed to access
    }
    else{
    // Not allowed to access
    }

    Thnaks

    admin
    Keymaster

    Hi Raven,

    Bydefault there are two payment gateways in Magento i.e. Paypal and Authorize.net

    But there are also many dependable third parties payment gateways available. User use them as per their need.

    some are

    Stripe (only for US), Braintree, Payu (for India)

    Regards

     

    in reply to: Add content in Short Code? #1920
    admin
    Keymaster

    You have to use two functions. The first one is WordPress’ built-in shortcode_atts() function, which combines user shortcode attributes with native attributes and fills in the defaults where needed. The second function is the extract() PHP function, which does what its name suggests: it extracts the shortcode attributes.

    function row_function($atts){
    extract(shortcode_atts(array(
    ‘bg_color’ => ”,
    ), $atts));

    You can take our shortcode one step further and add the ability to pass some content as an argument, which in this case will be a heading for the list of recent posts. To do this, we use a second parameter, $content, in the callback function and add it as an h3 heading before the list. The new function is as follows:

    function row_function($atts, $content = null) {
    extract(shortcode_atts(array(
    ‘bg_color’ => ”,
    ), $atts));
    $return_string = ”;
    $return_string .= ‘

    ‘;
    $return_string .= $content;
    $return_string .= ‘

    ‘;

    return $return_string;
    }

    Now, we tell WordPress that this function is a shortcode:

    function register_shortcodes(){
    add_shortcode(‘row’, ‘row_function’);
    }

    In order to execute our register_shortcodes() function, we will tie it to WordPress’ initialization action:

    add_action( ‘init’, ‘register_shortcodes’);

    Regards

    Tech9logy Creators

    admin
    Keymaster

    Hi Nancy,

    Use this code to solve your error.

    Add this code into your function.php file.

    function recent_posts_function($atts){
       extract(shortcode_atts(array(
          'posts' => 1,
       ), $atts));
    
       $return_string = '<ul>';
       query_posts(array('orderby' => 'date', 'order' => 'DESC' , 'showposts' => $posts));
       if (have_posts()) :
          while (have_posts()) : the_post();
             $return_string .= '<li><a href="'.get_permalink().'">'.get_the_title().'</a></li>';
          endwhile;
       endif;
       $return_string .= '</ul>';
    
       wp_reset_query();
       return $return_string;
    }
    add this short code, where you want to display your recent post list.
    
     [recent-posts posts="5"]
    

    Regards
    Tech9logy Creators

    admin
    Keymaster

    Hi James,

    Make sure you have the new database selected, then run some sql updates and replacement commands on the tables notably, wp_options, wp_posts, wp_postmeta.

    Use the code as below and swap in your old and new URLs, no trailing slashes. Also if necessary change the table prefix values where applicable (ie wp_ )

    UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl';
    
    UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');
    
    UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl');
    
    UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');

    Regards

    in reply to: How to remove JS and css file version in wordpress? #1827
    admin
    Keymaster

    Hi Vane,

    Adding this into functions.php works a charm:

    function remove_cssjs_ver( $src ) {
    if( strpos( $src, ‘?ver=’ ) )
    $src = remove_query_arg( ‘ver’, $src );
    return $src;
    }
    add_filter( ‘style_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
    add_filter( ‘script_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
    Its removed the ?ver=xxx from both the js and css files

    in reply to: I am getting error in Bulk Object Creator #1680
    admin
    Keymaster

    Is Account your custom object?

    If you are using Account as a Standard object, then there is no need to add __c at the end of object name
    because for Standard Account Object, the API name is “Account”.
    Kindly remove and try it.
Viewing 15 posts - 1 through 15 (of 17 total)

testimonials

" The team @ Tech9logy have been outstanding in assisting our business with Salesforce development work. I can't speak highly enough of Tech9logy for their professional service and communication. They are extremely organized, can work independently, and are able to effectively multi-task to ensure that all projects are completed in a timely manner. "

Luke Hales
Director | Greens List Barristers

" I have been working with Tech9logy for over 2 years, developing a School Management App. They are a fantastic team and would recommend them to any person or company considering their services. "

John Ordovas
Trustee | Edugo

" We had a difficult and complicated project that required several custom modules. Team did a wonderful job! Their finished product exceeded our expectations and our users LOVE the added functionality! Would definitely recommend it. We have just opened a maintenance agreement for ongoing work with Tech9logy. Thanks again for all the hard work Team! "

Sean Hughes
CFO | Grindabit Interactive, Inc.

" We hired Tech9logy Creators to handle our online promotions and campaigns. Being professional in Digital Marketing strategy, great attention and suggestions was shared by tech9logy team for our site. I could tell that Tech9logy Team really understood our brand and brought the desired outcome for the project. Most importantly, we have seen growth to our business leads and steady increase in our traffic! Highly recommended for all online promotions. "

Aman Dalal
Deputy Manager - IT | Cosmo Films

contact us

trusted by the world's best

clients-logo