• How to change certain image sizes in different parts of the Theme

    Image sizes are defined at the start of the file functions.php. Open it and change the size, the example of one line is:

    add_image_size( ‘shop’, 280 ,180, true );

    After you do that you now need to Regenerate Thumbnails at Tools – > Regenerate thumbnails. If you don’t have the neccessary plugin yet, be sure to download the plugin Regenerate Thumbnails

  • How to properly set the Products with attributes

    1. Add desired attributes

    2. Add neccessary attributes options

    3. Add this attribute to product attribute section

    4. Check used for variations

    5. Set Variations

  • How to completely remove responsive mode?

    open style_options.php in css directory and then delete the responsive css part (from line around 420 onwards to around line 960, you will see the commented header which will tell you where the responsive queries start). Don’t delete the closing php tag:

    1.  <!--?php } ?-->

    After you have saved this file, go to theme’s options and save the settings twice so a new file options.css is written (this is the file that gets the css from theme’s options).

  • I have purchased Woo plugin Variation Swatches and Photos but the layout is wrong. What can I do?

    At the end of style.css paste the following code and it will correct the layout:

    .variation_form_section {float:left; position:relative; height:auto; }
    .variations-table .attribute_pa_colors_picker {width:400px; }
    .rightContentSP {margin-bottom:200px;}
    .rightContentSP .cart {background:none;padding-left:0px;width:100% !important;}
    .rightContentSP .single_variation_wrap {position:relative;float:left;background:#fff; border:1px solid #eee; width:100%; margin:25px 0 0 0px;}
    .rightContentSP .single_variation_wrap.simple{padding-bottom:5px;}
    .rightContentSP .price {position:relative;float:left;font-size:24px;padding:15px;}
    .rightContentSP .single_add_to_cart_button {background:#2a2b2c;position:relative; float:right;padding:6px 10px 6px 10px;margin:12px 15px 0 0;}
    .rightContentSP .single_add_to_cart_button:hover {opacity:1 !important; filter:alpha(opacity=100) !important;}
    .rightContentSP .simple .single_add_to_cart_button{margin:5px 15px 0 0;}
    .rightContentSP .single_add_to_cart_button.external{margin:10px 0 0 0;}
    .rightContentSP .buttons_added {float:right;margin:11px 10px 0 0;}
    .rightContentSP .simple .buttons_added {margin:5px 0 0 10px;}
    .rightContentSP .buttons_added input.input-text.qty.text, .rightContentSP .buttons_added input.minus, .rightContentSP .buttons_added input.plus {position:relative; width:20px; text-align:center;font-size:16px; }
    .rightContentSP .variations_button{float:right; width:50%;}
    .rightContentSP .single_variation{float:left; width:50%; min-height: 50px; }
    .rightContentSP .single_variation .stock {float:left; width:100%;margin-left:15px; font-size:16px;}
    .rightContentSP .single_variation del {display:none;}
    .rightContentSP .single_variation ins {background:none;}
    .rightContentSP .stock {display:none;}
  • How to change image size on Product Page

    To change the product image size these are the steps:

    • first go to functions.php and change the value of add_image_size( ‘productBig’, 700,450, true ); to add_image_size( ‘productBig’, 700,700, true ); or to a value you want
    • now open style.css and go to line 205 where you will find following class: .imagesSPAll .panel, .imagesSPAll .anythingSlider, .imagesSPAll .panel img {height:450px !important;} – remove the height:450px !important;
    • at line 208 at class .leftContentSP .images.imagesSP change the height to 700px or to a value you want.
    • now at line 3408 at class #slider img, remove the max-height:500px;
  • How to change URLs of portfolio entries (portfolioentry)

    Open functions.php and find this function:

     

    function create_portfolio() {
        $portfolio_args = array(
            'label' => 'Portfolio',
            'singular_label' => 'Portfolio',
            'public' => true,
            'show_ui' => true,
            'capability_type' => 'post',
            'hierarchical' => false,
            'rewrite' => true,
            'supports' => array('title', 'editor', 'thumbnail', 'author', 'comments', 'excerpt')
        );
        register_post_type('portfolioentry',$portfolio_args);
    }

    replace it with:

     

    function create_portfolio() {
        $portfolio_args = array(
            'label' => 'Portfolio',
            'singular_label' => 'Portfolio',
            'public' => true,
            'show_ui' => true,
            'capability_type' => 'post',
            'hierarchical' => false,
            'rewrite' => array(
        'slug' => 'yourword',
        'with_front' => FALSE,
      ),
            'supports' => array('title', 'editor', 'thumbnail', 'author', 'comments', 'excerpt')
        );
        register_post_type('portfolioentry',$portfolio_args);
    }

    where “yourword” is the word you would like to use.

  • How to properly setup WooCommerce Product – Attributes and Product Variations

    Below is a link to a video that best shows how to properly add products and variable products in WooCommerce:

    How to properly setup WooCommerce Product

  • I get an error while creating a Child Theme. What to do?

    If you get an error saying the path or file is not found that is due to the way the Theme connects to it’s administator panel. To fix this you will have to change a snippet of code in functions.php. Open this file and find the following code:

    require_once (ADMIN_PATH . 'theme-options.php');     // Options panel settings and custom settings
    require_once (ADMIN_PATH . 'admin-interface.php');    // Admin Interfaces
    require_once (ADMIN_PATH . 'admin-functions.php');   // Theme actions based on options settings
    require_once (ADMIN_PATH . 'medialibrary-uploader.php'); // Media Library Uploader

    and replace it with:

    $admin =  get_template_directory() . '/admin/';

    require_once ($admin . 'theme-options.php');   // Options panel settings and custom settings
    require_once ($admin . 'admin-interface.php');  // Admin Interfaces
    require_once ($admin . 'admin-functions.php');  // Theme actions based on options settings
    require_once ($admin . 'medialibrary-uploader.php'); // Media Library Uploader

     

    Now you have to change how the stylesheets are embeded in the scripts.php. Open this file in includes/scripts.php and scroll to the end of the file. You will notice the following code that embeds the styles:

    wp_register_style('main', get_template_directory_uri() . '/style.css', 'style');
    wp_enqueue_style( 'main');
    wp_register_style('options', get_template_directory_uri() . '/css/options.css', 'style');
    wp_enqueue_style( 'options');

    replace it with:

    wp_register_style('main', get_stylesheet_uri(), 'style');
    wp_enqueue_style( 'main');
    wp_register_style('options', get_stylesheet_directory_uri() . '/css/options.css', 'style');
    wp_enqueue_style( 'options');

     

    Now please note that when creating a child theme in our Themes you have to copy the CSS directory also and not just style.css in the child theme directory. We use two style files, one is for general styling and the other picks the settings from Theme’s options.

  • Demo Content (Camy)

    Demo WP content DOWNLOAD.

    Read about how to make the Theme look like live preview here.

  • How to get the theme to look like the live preview

    To make the theme look like our live preview and for it to function properly it should be installed in the following order:

    The proper installation process is as follows:

    1. Install the Camy WordPress Theme
    2. Install the Woocommerce plugin (with woocommerce pages)
    3. Import Demo WordPress demo content

    Refer to other sections if you need more details about how to install certain parts.

    For home page follow these steps:

    1. First add a Page (Pages / Add New) and choose the appropriate Template

    2. Go to Settings / Reading and add the Static Page Tab that you just created

    If you need sample data follow these steps:

    1.Unzip the file called musica_demo.zip  which contains the XML file musica_demo.xml.

    2. Now go to Tools -> Import and select WordPress. You will be prompted to install a plugin.

    3. After the plugin is installed simply select the XML file from your computer and you are done.

  • What are the recommended image sizes for Camy

    Theme uses different image placeholders for different parts of the site. Please note that images can be bigger since Timthumb will take care of them so they fit within containers. Below is a short list of recommended sizes (used in the live preview).

    IOS Slideshow: 1180px X 420px

    Full width slideshow: no particular recommended size since you can adjust the position of the image, transparent images will generally look better.

    Nivo Slideshow: 1140px X 400px

    Blog Posts: 800px x 390px

    Single Portfolio Post: 700px wide (can be of any height)

    Sponsors Images: 235px x 128 px

    Products Images: 700 x 450px (can be bigger or smaller just keep similar aspect ratio for best results).

  • How to show the shipping form on checkout by default

    The shipping form is hidden by default by the WooCommerce plugin. This is the default behaviour. To show it by default do this:

     

    in wp-content/plugins/woocommerce/assets/js/frontend . there’s js file called checkout.min.js, edit it and search for div.shipping_address, change the following:
    e(“p.password, form.login, .checkout_coupon, div.shipping_address”).hide()
    to:
    e(“p.password, form.login, .checkout_coupon”).hide()

  • How to add the Mega Menu

    To add the big mega menu please follow these steps:

    1. First add the Shop Page to be the most upper menu. Under CSS Classes add pmcbig

    2. Now add a custom link to be the main menu for the Categories part. URL should be #, CSS class need to be pmcmenutitle.

    3. Now add the product categories that you want under the Categories. The menu should now look like the image below:

    4. For price range first add the custom link in the same way as for the categories.

    5. Now add a custom link for each price list. Use a link like this, only that it points to your domain: http://mercor.premiumcoding.com/product-category/jewelry?min_price=0&max_price=1000

    This link will add a price list for products between $0 and $1000. The menu should look like the image below:

    6. To add the product with the big image in the menu, again add the custom link where the URL is the link to that product. CSS class needs to be menufeautured. Navigation Label should look like this (with your own link):

    <div> <span>Featured</span> <img src=”http://mercor.premiumcoding.com/wp-content/uploads/2012/09/Golden-ring-with-diamond-isolated-on-the-white-1.jpg” alt=”menu image”/> <span>$2,449.99</span> </div>

    So the menu for the product should look like the image below:

     

    If you don’t see the CSS Classes you need to turn them on in Screen Options. Check the screen below for a better understanding:

  • How to set up the Video Post properly

    Video Post - Go to the post and set it to video format, then set the field just below the post text that says: Video URL(*required). Also check the Screenshot below that is showing where you have to set the link:

    How to add the Video post

  • How to add images to make a Slideshow in Single Portfolio or Post

    Click the button, Add Media.

    Now select from the dropdown menu the option Uploaded to this post like in the screen below:

    Now simply select and upload the images that you want in the portfolio or post’s slideshow.

  • How to make the top menu visible at all times

    If you wish to have top menu visible all the times (loged in or loged out) open function.php and find the following code (around line 218, this differs a bit from Theme to theme and is valid for Themes Mercor, Emporium and Musica);

        <?php if ( is_user_logged_in() ) {?>               
        <ul>
       
        <?php
        if ( has_nav_menu( 'top_menu' ) ) {
            wp_nav_menu( array('theme_location' => 'top_menu', 'container' => 'false', 'menu_class' => 'top-nav', 'echo' => true, 'items_wrap' => '%3$s' ));
        }
        ?>
        </ul>
        <?php } else {?>
        <ul>
            <li><a href="<?php echo home_url() ?>/my-account/"><?php if (!function_exists('icl_object_id') or (ICL_LANGUAGE_CODE == $sitepress->get_default_language()) ) { echo stripText($data['translation_login_register']); } else {  _e('Login / Register','wp-emporium'); } ?></a></li>
        </ul>              
        <?php } ?>

    and replace it with code:

        <ul>
        <?php
        if ( has_nav_menu( 'top_menu' ) ) {
            wp_nav_menu( array('theme_location' => 'top_menu', 'container' => 'false', 'menu_class' => 'top-nav', 'echo' => true, 'items_wrap' => '%3$s' ));
        }
        ?>
        <?php if ( !is_user_logged_in() ) {?>  
            <li><a href="<?php echo home_url() ?>/my-account/"><?php if (!function_exists('icl_object_id') or (ICL_LANGUAGE_CODE == $sitepress->get_default_language()) ) { echo stripText($data['translation_login_register']); } else {  _e('Login / Register','wp-emporium'); } ?></a></li>         
        <?php } ?>
        </ul>
  • How to Isolate a Product from other Products

    Let’s say you would like to make a product option for distributors and not for the regular customers. So visitors can only get to that product by a direct link. To achieve that, do the following:

    Under the Publish section on the product page there is a “Catalog Visibility” option. You can hide products from there.

  • How to increase number of posts in blog sorting page from 50 to a higher number

    First open the file in admin/theme-options.php and look for following code (around line 100):

    $number_entries = array("Select a number:","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","25",
    "30","35","40","45","50");

    replace this line with the following:

    $number_entries = array("Select a number:","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","25",
    "30","35","40","45","50","150");

    you can add more if you want.

  • What to do if Log out button on top missing

    This means the logout button is not set in the WooCommerce Settings. So go to WooCommerce -> settings and click on 3rd tab called Pages. Now simply make sure the Append a logout link to menus containing “My Account” is checked. If it is not, check it and then save the settings.

    Now create a new page and call it for instance My Account. Now copy paste this shortcode in the page:

    [woocommerce_my_account]

    After that simply add this page to your menu, in the top menu if you want it in the upper part above the main menu.

  • How to change the size of Product Thumbnails

    Open style.css and go to line 814 where classes .homeRacent .productF .recentimage, .homeRacent .productR .recentimage are. Increase the height here to what you wish. I recomend leaving the width intact since this influences layout more.

    You will now see the holder is high enough but the image is cut. Timthumb value for height now needs to be adjusted. Go to includes/boxes/homerecentProduct and homerecentProductF and look for value:

    get_image_pmc(294,224,$post->ID);

    now adjust the height accordingly.

    This is for the home page. To adjust the shop  thumbs settings will have to be applied there also.

  • Items in Shopping Cart Disappearing at Check Out. What to do?

    Seems like this is most likely a setting on your hosting (PHP sessions aren’t set up correctly on your server ) that isn’t set up properly. Some other cause can be affecting this (like a conflict with another plugin). A lot of most probable causes are described in the post below.

    http://wordpress.org/support/topic/plugin-woocommerce-cart-brokennot-adding-products

    Woocommerce forums are also a good place to ask this question since this is a WooCommerce plugin related issue:

    http://www.woothemes.com/woocommerce/

     

  • How to select which Products are featured on the front Page?

    Besides checking this in home settings in admin you have to check this in product’s list also. You can choose for each product whether it will be featured or not. See the screen below for a better clarification:

    Click on an image for a larger preview.

  • How to remove the character limitation in short Description

    To remove the character limitation in short Description open /woocommerce/single-product/short-description.php and go to line 27.

    Replace :

    <?php echo substr(apply_filters( 'woocommerce_short_description', $post->post_excerpt ),0,230).' ...'; ?>

    with:

    <?php echo apply_filters( 'woocommerce_short_description', $post->post_excerpt ); ?>
  • What to do if some characters don’t show up (like Greek, Cyrillic,…)

    you will have to add embeding of characters family to google fonts. Open scripts.php in includes directory and look for font embeding (at the end of the file). Replace the two existing lines:

    wp_register_style('googleFont', 'http://fonts.googleapis.com/css?family='.$data['heading_font']['face'] ,'',NULL);
    wp_register_style('googleFontbody', 'http://fonts.googleapis.com/css?family='.$data['body_font']['face'] ,'',NULL);

    with

    wp_register_style('googleFontbody', 'http://fonts.googleapis.com/css?family='.$data['body_font']['face'].'&amp;subset=latin,greek,greek-ex' ,'',NULL);
    wp_register_style('googleFont', 'http://fonts.googleapis.com/css?family='.$data['heading_font']['face'].'&amp;subset=latin,greek,greek-ex' ,'',NULL);

    Example is for greek fonts. Check out how to properly write the lines for other font sets on Google Web Font Library Quick Usage

  • Can’t see theme admin panel.

    First try reseting theme options. If this don’t work send us mail with your login details.

  • How to add your own background patterns

    The best way to add your own background patterns is to copy them with FTP to the directory /images/bg of your theme’s directory so full path would look something like: wp-content/themes/themeName/images/bg. After you have done so, refresh the page where your admin is (F5). This is a simple refresh of the page and not reset of the theme’s options.

    You can now see your newly added background pattern in Theme’s Options -> Styling Options -> Background Pattern. This is the best way of adding the background pattern since you can add more patterns.

  • How to properly add Vimeo and Youtube Videos to Full width Slideshow (Anything slider)

    The full width slideshow allows you to add videos to it. The proper way to add the videos is with the embed link and not with the direct URL of the videos.

    How to get the embed links from the video

    VIMEO

    Hover over the image and then click the Share Icon. A popup window will open with the iframe embed code. You only need to get src link from it and it should be formed like:

    http://player.vimeo.com/video/46233381

    YOUTUBE

    Open the video on the Youtube Site and click the Share link below the video. Now click on the Embed Button. You will now see the iframe embed code. Copy the URL link from it that should be formed like this:

    http://www.youtube.com/embed/lDbEkhps9Gw

    Video embed link has to be added to the Video URL field and not in the Image URL for the video to work.

  • How to translate Page Navigation on Blog

    If you wish to translate the pagination on the blog page (for instance Page 1 of 2) you have to edit the file called wp-pagenavi.php which can be found in /includes directory. Open the file and go to line 114 and replace the line

    $pages_text = str_replace("%CURRENT_PAGE%", number_format_i18n($paged), $pagenavi_options['pages_text']);

    with

    $pages_text = str_replace("%CURRENT_PAGE%", number_format_i18n($paged), ('Test %CURRENT_PAGE% test %TOTAL_PAGES%'));

    Now simply replace the test words with your own.

  • How to add new Google font

    Open /admin/admin-interface.php and find

    $faces = array('arial'=&gt;'Arial',

    (around line 1246) .

    Then just add your font so this code look like :

    $faces = array('arial'=&gt;'Arial',

    ‘google font name’ => ‘admin display name’,

    …….

     

  • How to check which element to apply styling to with Google Inspect

    Many users will want to change certain aspects of theme (from headings to buttons, logo position, etc.). The hardest part when doing this is finding out which class you have to edit in style.css. This is where Google Inspect comes to the rescue. Other browsers have similar tools but in our opinion Google Inspect is the most convenient one.

    Open Google Chrome and position your mouse over the element that you wish to change. Right click on your mouse and then click Inspect. A window will open showing the location of the class in style.css. You can now play a bit and change some parameters on the fly to see how they would look (remember that this is only a virtual change and that you will have to edit and save style.css for changes to take affect). After you are happy with the changes you can now apply them to style.css and since you now know the exact line where the class is it should be a breeze.

    For editing style.css we recommend Notepad++, it is lightweight, will color your code and number the lines of the file.

  • How to translate your Theme

    Theme allows you to translate all the main aspects of the Theme (buttons, social icons,…). Go to translation tab of your Theme’s administration and find the word you would like to translate. After that simply enter your translation and save.

  • Add more Items in Portfolio Template

    open /admin/theme-options.php and search for line :

    $number_entries = array("Select a number:","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","25","30","35","40","45","50", "100","9999");

    Now you can have 9999 items.

  • Full width slideshow doesn’t show text captions

    If you have only one slide in the slideshow add another one. This will solve the problem of captions not appearing.

  • Edit links in the footer Menu

    Go to Appearance -> Menus and click on the Footer menu. You can now add or delete the links in it.

  • Theme settings are not saving

    On some installations you have to save settings twice in order for them to take affect. So simply save twice and check if new settings are applied

We are closing the forum!

Hi,

FORUM IS CLOSED!

Because we wish you to offer best support we decided to close forum and focus only on tickets.

If you need help please open ticket via pink button on the left. Don't forget to add purchase code and item name.

You can also open ticket here .

Thank you for understanding.

Best regards,

PremiumCoding Team