Our themes come with Custom Post Types, for example, Portfolios, Galleries, etc.
Each custom post type has a "slug", or to put it simply: a friendly name for URLs and people to read.
As a default rule we name each slug under the English version of the Custom Post Type. So for example, your URL for a Portfolio post would be something like: http://www.yourdomain.com/portfolio/portfolio-name.
If you wish to alter the name of your post type (for example, if you want instead of "portfolio" to say "work") follow the guide below:
1. Open the respective file under theme_functions/post_types/. The php file you are looking for in most cases has the same name as its CPT, so for Artists it would be theme_functions/post_types/artists.php.
2. Find the piece of code:
$args = array( 'labels' => $labels, 'singular_label' => __('Artists Item', 'acoustic'), 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'hierarchical' => false, 'has_archive' => true, 'rewrite' => array('slug' => 'artists'), 'menu_position' => 5, 'supports' => array('title', 'editor', 'thumbnail') );
Notice this line:
'rewrite' => array('slug' => 'artists'),
Convert it as follows:
'rewrite' => array('slug' => 'musicians'),
Notice that "musicians" should be the word that you wish.
Hit save, upload and then go to Settings -> Permalinks in order for your permalinks to be regenerated.
That's all :)
All image sizes in every CSSIgniter theme are declared in the file functions.php, in the main folder of your theme.
Opening that file, find the following lines of code (or lines that look like this):
// // Define our various image sizes. // add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size(640, 300, true); add_image_size('featured_blog', 690, 220, true); add_image_size('gallery_thumb', 314, 314, true); add_image_size('slider', 1140, 585, true); add_image_size('gallery_full', 1140, 450, true); add_image_size('carousel', 180, 94, true); add_image_size('wide_thumb', 270, 125, true);
The above code is taken from the functions.php of a random theme of ours, SixtyOne (from our website).
In every line:
add_image_size('slider', 1140, 585, true);
The text in quotes is the name of the position of the thumbnail, and usually describes where the thumbnail is used.
So for the above code, the 'slider' thumbnail is used on the fullwidth sliders in SixtyOne's frontpage and the 'gallery_full' is used in SixtyOne's full width room gallery templates.
If you have any doubt on if where a size is used you can always right click on the image, select "Inspect Element" in Chrome or Firefox and check out the class of the <img> tag as shown in this screenshot: http://d.pr/i/9xJC.
It will be named attachment-name_of_thumbnail (as declared in functions.php).
The first number of the declaration is the width of your image, and the second one is the height. Change those numbers, and then install and run a plugin such as Regenerate Thumbnails (http://wordpress.org/extend/plugins/regenerate-thumbnails/) in order for your images to be recropped to the new dimensions.
You need to edit the scripts.js file located in the js folder of your theme and change line 5 from
slideshow: false,
to
slideshow: true,
In order to avoid various quirks and glitches with your galleries please follow these instructions when creating a gallery:
Go to galleries -> new gallery item and give a title to your gallery.
Then hit the "Add media" button and in the popup media manager, upload your photos and when they are done uploading reorder if you wish and press the "X" button located on the top left to close the media manager.
--- To change the image order drag the images in the order you wish to view them just before hitting the X button.
(please notice: do not select "create gallery" from the leftmost list, do not use images that already are in WordPress's media gallery and in general if you want to use an image already uploaded in a different post upload it again to the new one, do not use the one already uploaded).
Edit the "gallery settings" by adding venue and location (optional).
Click the 'Set featured image" link located on the right side of the page, set a featured image. Add any gallery categories (if needed).
Publish your gallery.
If you want to add new images to an existing gallery, just upload the new images just like you did the first time when creating the gallery, they will be automatically added to the existing ones.
If you want to reorder or delete images after the gallery has been created, edit the gallery item, hit "add media" from the dropdown menu on the left side of the media manager select "uploaded to this post" and reorder with drag & drop (or remove) any images you want, hit "X" and update the gallery.