Home › Forums › Mikmag WordPress theme › Tips, Tricks, and How-to's
Tagged: guides, how to, tips and tricks
- This topic has 1 reply, 6 voices, and was last updated 11 years, 11 months ago by Windycityfella.
-
AuthorPosts
-
-
at #10515Whitt MaddenMember
This thread is for tips, tricks, and how-to’s for the MikMag theme. I hope to be gathering much documentation to help new users for this theme. Much of what will be shared here, can be found in the demo, but I felt this may be a good place to show the short codes, tips, etc for users to be able to use.
Compatibility
Please be sure to check compatibility of your WordPress with the version of MikMag that you are using. You can check the version compatibility on the MikMag Themeforest page
Installation
This tutorial section assumes that you have purchased the MikMag theme, and have successfully installed the theme and activated it on your WordPress blog. Instructions for this are found in the MikmagManual .pdf located in the folder of the same name from your download file.
Dummy Content
If you would like to install the Dummy Content – instructions for this are found in the Mikmag-DummyContent folder. Please note that before you attempt this, you will need to have access to your phpMyAdmin and know how to inject the SQL file.
For more information about phpMyAdmin you can visit their project page here: http://www.phpmyadmin.net/home_page/
Mikmag Demo Content
You can view the demo here – http://www.responsive-wp-theme.com/
Short codes
Where do I find the short codes in my theme?
Whenever you create a new post or page, all of the short codes will be found by click on the yellow highlighted m. You can see all of these in the demo by going to Features and view the short codes from there.
Plugins
If you are wanting the same functionality as the demo, you will need to install WooCommerce and Buddypress . Both are free plugins that can be installed via the WordPress Dashboard. (Note: These plugins are not included in a default installation of MikMag, however the theme is designed and ready for these plugins). Please note version compatibilities as well to avoid any issues with theme functionality.
Image Sizes
The following are the image sizes used in the MikMag Demo:
On the Home Var.1 demo page – the slider image is 1140×310 pixels
On the Home Var.2 demo page – the slider image is 1140×400 pixels (this uses the Nivo Slider, perfect for custom slides)
On the Home Var.3 and Home Var.5 demo page the example shows a stretched image 750×250 pixels (these use the Basic Silder perfect for latest posts)
On the Home Var.4 demo page – the background for the layered slider is 1140×400. (The Handbag is 385×337 pixels and the car is 625×329 which shows you the flexability of the layered slider. More information about the layered slider can be found here http://www.responsive-wp-theme.com/the-layer-slider/)
Blog images: on the demo there are 2 sizes that seem to be consistent 600×200 and 750×250. It should be noted that the smaller size seems blurry and pixelated on larger screens (this is due to the responsive feature of the blog).
Grid 1140
The 1140 grid fits perfectly
Beyond a certain point it uses media queries to serve up a mobile version, which essentially stacks all the columns on top of each other so the flow of information still makes sense. Scrap 1024! Design once at 1140 for 1280, and with very little extra work, it will adapt itself to work on just about any monitor, even mobile.
On smaller monitors it adapts.
If an image is smaller than the column it is contained in, it will be displayed at its original size. If it is larger then it will be shrunk to the width of the column. Don’t define height and width of images inline, it’ll break the proportions if they’re scaled down.
This is an overview of some of the basics of this theme. I will continue to post tutorials, and how-to’s in the section. I recommend checking out the demo for a full picture of what this theme is capable of.
-
at #10517WindycityfellaMember
Whitt,
Thanks for posting this – really great stuff.
I’m using Mikmag to set up a new website for an international sporting organisation and eagerly waiting for the updated version that works smoothly with WordPress v3.5.2
I’ve used a couple of the Theme-Dutch theme frameworks and appreciate all that they can be utilised for. I’m also a member of their Beta Tester program and have posted some information about the Freeze theme which also is very creative.
It is disappointing that the Theme-Dutch themes are yet to be updated to be compatible with the latest version of WordPress and I, and hopefully the wider community, understand that there has been staffing issues that has delayed this. On a wider issue, I hope that some of the new themes this year are reflections/build on this (Mikmag) and the Freeze theme options – oh and loved the Seduction theme and would really like to see that style redone as a responsive one with all its options.
Cheers,
-
at #10518Whitt MaddenMember
Short Codes Tutorial #1
You can find the short codes in your theme whenever you create a new page or new post. They will show up whenever you click on the yellow m.Button Short Codes
The short codes for buttons is really quite simple:
[button medium link=”link”]button text[/button]
[button small link=”link”]button text[/button]
[button large link=”link”]button text[/button]
You can see these in action on their demo page – http://www.responsive-wp-theme.com/buttons/
Column Short Codes
You can create the following column sizes:2 columns
1/3 – 2/3
2/3 – 1/3
1/4 – 3/4
3/4 – 1/4
3 columns
4 columns
5 columnsThe example below is for 2 columns:
[columns] [column half]Content here[/column] [column half]Content here[/column] [/columns]
To create customized 2 columns:
1. Insert the default column shortcode, which also can be changed into 3/4/5 columns 2. Then insert only the URL of your favorite background image. 3. Choose your own personal text color 4. Set your own image size (default settings are: 100 % and 150 px), which can be made larger or smaller
See them in action here: http://www.responsive-wp-theme.com/v2/columns/
Divider Short Codes
Dividers are one of my favorite things about this theme. There are many options and many ways to customize them. With the short codes you can create the following:
2 columns + divider
1/3 – 2/3 + divider
2/3 – 1/3 + divider
1/4 – 3/4 + divider
3/4 – 1/4 + divider
3 columns + divider
4 columns + divider
5 columns + dividerTo see what the dividers look like there are 4 different styles: http://www.responsive-wp-theme.com/dividers/
Headings
This is a good place to explain the short codes for headings. Using this short code it will also make use of the dividers, with the exception that the header is embedded so to speak: The short code for this example is using the Header 2 styling:[header 2]text[/header]
To see these at work in the demo we will look at the Home Page Var.1 Check out the headers for the sections titled: MOST RECENT POSTS ON OUR BLOG and HOTTEST NEWS as well as the sections below them. You can see this here: http://www.responsive-wp-theme.com/home-var-1/
-
at #10520Whitt MaddenMember
Short Codes tutorial #2
TD Image Gallery
The TD Image Gallery short code was a little tricky at first to figure out. Here are the column specs for this short code:
Image gallery, 2 columns
Image gallery, 3 columns
Image gallery, 4 columns
Image gallery, 6 columnsThe short code looks like this once it is inserted:
[tdgallery columns=”2″] [image url=”image url” title=”image title” description=”image description”] [/tdgallery]
Here is what it looks like with 2 images, used from the demo website:
[tdgallery columns=”2″] [image url=”image url” title=”image title” description=”image description”] [/tdgallery]
Here is how I get it to work:
[tdgallery columns=”2″]
(upload and insert image for your gallery using the WordPress media uploader and insert) – repeat for each image needed.
For example if I wanted to use 2 columns, 4, or even six, add them in the visual editor and then close the short code with:
[/tdgallery]
Let’s take a look at the demo page: http://www.responsive-wp-theme.com/v2/gallery/
You can see there how the image gallery looks.
Here is the HTML for the 2 column gallery, if that helps you to understand it better:
[tdgallery columns=”2″]
<a href=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/veni-vidi-venice-1920×1200-wallpaper-51482.jpg” data-rel=”demo”><img title=”veni-vidi-venice-1920×1200-wallpaper-5148″ alt=”” src=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/veni-vidi-venice-1920×1200-wallpaper-51482.jpg” width=”700″ height=”438″ /></a><a href=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/1191.jpg” data-rel=”demo”><img title=”1″ alt=”” src=”http://www.responsive-wp-theme.com/v2/wp-content/uploads/2012/06/1191.jpg” width=”700″ height=”438″ /></a>
[/tdgallery]
I hope that this helps clear up any questions about the TD Gallery short code.
-
at #10544pinkfloydMember
I hacked a prettyphoto popup for the login dialog if anyone is interested, I’ll post a tutorial. Look at http://gowarp.com and click login to see what I’m talking about. I would like the developers to build this into the theme since it requires a hack to wordpress core to work (regarding rel= tags on the menu admin). They use data-rel= ….anyways if you guys want I’ll try to post and explain how to do this, if there is enough interest.
-
at #10555WindycityfellaMember
PinkFloyd
G’Day.
Nice work with the website, and yes, I’d be interested in seeing how you did that pop-up. I’m not an experienced coder so any tips is much appreciated.
Also, what is the image show that you have on the About US page.
Thanks.
Cheers,
-
at #10560pinkfloydMember
Windycityfella,
Step 1:
Ok, the first step is to edit the “nav-menu-template.php” in the /wp-includes/ directory of your core WP install. On line 85, change “rel=” to “data-rel=” ….ignore where-ever I use quotes, it’s just for emphasis.
Step 2:
In the MikMag theme edit “footer.php” add the following on line 50, just underneath the theme-totop entries that are already there:
<div class=”hidden”>
<div id=”LoginPopup”>
<form class=”loginForm” style=”padding:30px;” id=”popupLoginForm” method=”post” action=”<?php echo wp_login_url(); // optional redirect: wp_login_url(‘/redirect/url/’); ?>”>
<div id=”loginBg”><div id=”loginBgGraphic”></div></div>
<div class=”loginContainer”>
<h3 style=”text-align:center;”><?php _e( ‘Sign in to your account’, THEME_NAME ); ?></h3>
<fieldset class=”formContent”>
<div class=”fieldContainer” style=”float:left;”>
<label for=”ModalUsername”><?php _e( ‘Username’, THEME_NAME ); ?></label>
<input id=”ModalUsername” name=”log” type=”text” class=”textInput” />
</div>
<div class=”fieldContainer” style=”float:right;”>
<label for=”ModalPassword”><?php _e( ‘Password’, THEME_NAME ); ?></label>
<input id=”ModalPassword” name=”pwd” type=”password” class=”textInput” />
</div>
</fieldset>
</div>
<div class=”formContent” style=”float:left;”>
<button type=”submit” class=”btn signInButton”><span><?php _e( ‘Sign in’, THEME_NAME ); ?></span></button>
</div>
<div class=”formContent” style=”float:right;”>
<a href=”<?php bloginfo(‘wpurl’) ?>/wp-login.php?action=lostpassword” id=”popupLoginForgotPswd”><?php _e( ‘Forgot your password?’, THEME_NAME ); ?></a>
</div>
</form>
</div>
</div>Step 3
In your MikMag settings, under General / Miscellaneous add the following to your custom CSS:
#LoginPopup { width: 210px; margin: 0 auto;}
#LoginPopup fieldset legend { display: none; }
#LoginPopup div.fieldContainer { margin-bottom: 0em; } /* space between inputs */
#LoginPopup label { width: 80px; display: block; float: left; line-height: 27px; }
#LoginPopup .textInput { width: 85px; }
#LoginPopup .formContent { width: 80%; margin-left: auto; margin-right: auto; }
#LoginPopup .hr { margin: 16px 0 19px; }.hidden { display: none !important; visibility: hidden; }
Last Step:
In the menu admin on wordpress, create a menu item with following attributes:
URL: #LoginPopup
Navigation Label: Login
CSS Classes (optional): popup
Link Relationship (XFN): prettyPhotoinlineNOTE: To see the “Link Relationship (XFM):” field, enable it under screen options at the top of the screen.
Step Done:
No more steps, that should do it. Let me know how it works for you.
-
at #10590AnonymousInactive
Hey all,
What a tremendous topic! Great help for anyone visiting the forums.
Since we value it very much when our forum members here help one another and since this topic contains some really interesting things for everyone, we decided to turn it into a sticky topic so that it would always stay on the top of the page for everyone to use and add to.
Kevin
-
at #10591WindycityfellaMember
Kevin.
Thanks.
I know it’s a nag, but any ETA on the updates for Mikmag, and Freeze ?
Thanks.
-
at #10651AnonymousInactive
Hi,
We are currently working hard to overcome some staffing issues we’ve been having since one of our developers left back in December. We have been reviewing our schedule and have rescheduled the WP3.5 updates for both the Mikmag as well as the James theme to another developer to work on with priority. For these themes I expect the updates to come in soon.
Kevin
-
at #10690Whitt MaddenMember
Tabs Short code Tutorial
This tutorial will show you how to use the tabs short code. At first this can seem very tricky to implement, because in order to have multiple tabs, you will need to use both short codes.
Here is the first short code:
[tabs] [tab title=”Title here”]Content here[/tab] [/tabs]
To insert multiple tabs you need to insert this short code:
[tab title=”Title here”]Content here[/tab]
Here is what that looks like in application:
To create the multiple tabs – use both tab short codes as such:
[tabs] [tab title=”Title One”]Content here[/tab][tab title=”Title Two”]Content here[/tab] [tab title=”Title three”]Content here[/tab][/tabs]
The demo site shows you the visual for what this looks like, but it doesn’t give much direction as to how to use them. To see these in action check out the demo page here – http://www.responsive-wp-theme.com/tabs/
-
at #10691Whitt MaddenMember
HTML Button in Nivo Slider
The Nivo slider is a very nice slider for the MikMag theme. This short tutorial simply explains how you can add html to the slides. What this tutorial explains is simply adding a header and text and a short code button to one of your slides.
First, you will need to go to your MikMag theme options. Click on Sliders, and Either add a new slide or edit and existing slide.
You can input your HTML under the caption section. In this example we will add a header and a button link:
<h3>Header Title</h3>
<br>
[button large link=”http://sitenamehere”%5DButton Text here[/button]That’s it. I will mention that the <br> is very useful to separate the header text from the button. If you do not use this they will run together.
-
at #12061JustinMember
Can you tell us where the settings are for posts: “RELATED ITEMS” feature?
-
at #12066JustinMember
The reason I ask is because in base.css (.related-posts .title) shows the entire title text from the post/article therefore causing the thumbnail to be overtaken by all the text, to the point that the header title is even obscured. It would be nice to set this to a certain text limit or turn it off.
For now I have added: ‘display: none;‘ to .related-posts .title in base.css
-
at #12085AnonymousInactive
Hi Justin,
This is a bit of a theme bug which has been addressed to our developers. There are no “settings” for these thumbnail descriptions in the theme and the description taking over the entire space isn’t quite intentionally. This should be fixed in the next theme update.
Kevin
-
at #12106JustinMember
Thanks Kevin.
-
at #12371iohcreativeMember
is there no way we can remove the related items from showing up until you get this issue fixed? It’s a pretty big issue, especially on smartphone platform because it stacks and covers other links. Thanks
-
at #12380AnonymousInactive
Hi ioh,
Right at this moment, the only way would be to manually remove it from the theme’s code.
Kevin
-
-
AuthorPosts
- You must be logged in to reply to this topic.