-
Search Results
-
Hello, I am a beginner with WP. Mantra is the best choice of theme for my purpose. I tried adding a second row of images + links right below 4 placeholders available as part of the base theme. I am a beginner with php too. After spending a great deal of time in researching, I finally found that I can modify the settings.php (under admin folder) to add the additional image slides and by modifying theme_frontpage.php I can render the images onto the home page. I was successful with this first attempt. Then I had a requirement to add another row. I tried repeating the same steps. But it failed with the error “undefined index”. And I reverted back to the earlier working code, but that doesnt seem to work either.
Here is the changes I have made to the settings.php file.
Row no 549 (initially I had until 8 when it worked the first time, after the error, I am trying to make it work for just one more.
//SKP adding 5 to the array;
$items = array (“0″ ,”1”, “2” , “3” , “4” , “5” );After row no 626
<!– SKP adding 5th column code begin–>
<div class=”slidebox”>
<h4 class=”slidetitle” > <?php _e(“5th Column”,”mantra”);?> </h4>
<div class=”slidercontent”>
<h5><?php _e(“Image”,”mantra”);?></h5>
<input name=”ma_options[mantra_columnimg5]” id=”mantra_columnimg5″ class=”slideimages” type=”text” value=”<?php echo esc_url($mantra_options[‘mantra_columnimg5’]); ?>” />
<span class=”description”><?php _e( ‘Select / Upload Image’, ‘mantra’ );?> </span>
<h5> <?php _e(“Title”,”mantra”);?> </h5>
<input id=’mantra_columntitle5′ name=’ma_options[mantra_columntitle5]’ size=’50’ type=’text’ value='<?php echo esc_attr( $mantra_options[‘mantra_columntitle5′] ) ?>’ />
<h5> <?php _e(“Text”,”mantra”);?> </h5>
<textarea id=’mantra_columntext5′ name=’ma_options[mantra_columntext5]’ rows=’3′ cols=’50’ type=’textarea’ ><?php echo esc_attr($mantra_options[‘mantra_columntext5′]) ?></textarea>
<h5> <?php _e(“Link”,”mantra”);?> </h5>
<input id=’mantra_columnlink5′ name=’ma_options[mantra_columnlink5]’ size=’50’ type=’text’ value='<?php echo esc_url( $mantra_options[‘mantra_columnlink5′] ) ?>’ />
</div>
</div>
<!– SKP adding 5th column code end –> >It gives this error:
Notice: Undefined index: mantra_columnimg5 in C:\wamp\www\agroPedia\wp-content\themes\mantra\admin\settings.php on line 633
Could you please help me here? Thanks in advance..
-Senthil
Hi,
Whenever I disable posts on the presentation page it makes my text in the slider fade back to almost black. I have tried this in Tempura and Parabola. Both themes react the same. Any ideas what could be causing this?
Thanks,
Greg
I made Spanish and Portuguese language files for my Nirvana theme installation (front-end translations only, no admin). I uploaded them to my nirvana/languages directory and everything was peachy. However, as I suspected would happen, they were deleted when I installed the latest theme update.
I tried placing my files in wp-content/languages/nirvana, but they weren’t recognized. Looking at the theme setup code, it appears only the nirvana/languages directory is checked for language files. Is there any way to preserve my custom translations other than to try writing my own theme setup code using my child theme? If not, would it be possible to change this behavior in a future update (i.e., check WP_LANG_DIR/nirvana or nirvana-child/languages before defaulting to nirvana/languages)?
Topic: Author
Hi,
How do I show author bio under each blog post?
I think I disabled it. But I don’t know how to get it back.
Can anyone help me?Thanks in advance,
MarieI am inserting a News Ticker on the Presentation Page in Text Area 1 using a shortcode and want to center it, but all my tries so far are to no avail.
Any help here?
Hi Everyone!
I am new to WordPress, but I love this Nirvana Theme! Thanks Cryout for such a great tool in web design. I’m trying to get better with the program so I built a simple website for a friend(www.silverthornindustries.com). Unfortunately I can’t figure out how to get rid of the “Search Box” and links on the bottom of the page. I’ve been through the widgets and they are all empty. I’ve looked through the menus many times but I can’t find that code. Can anyone help a noobie?
Thanks in advance,
-MarkI cannot request premium support because the captcha on that page is broken.
I tried 3 browsers (Chrome, FF and IE) all without any adblockers and it seems to be broken on all.Here is how it looks: http://imgur.com/dUJJSqk
This theme is nice, even i’m not really using all of its possibilities.
But i’ve got a problem, not a little: nobody can leave a comment or reply to the old!
Any idea?Hello, hoping you can set me in the right direction. I just set up a web page using Mantra today (love it by the way) however I wish to have a phone number that is clickable on the presentation page. I cant seem to find where i would add the code 0468648472 without it showing on the page. The editor has to much code for me to try to decipher. The page I am working on is for my son which is brisbanedetailing.com.au if you view the page you will know excatly wherei want the mobile clickable number. Only a few phones can click and call without code it would appear. Anyway thank you in advance.
Topic: Text Area Not Saving
On the presentation page, I am trying to change the text in the 3 text areas. When I save the changes, I can see the changes only when I preview the site within WordPress. But when I try viewing the site from another browser, only the default text appears. How is this happening and how can I fix it?
Topic: A few feature suggestions
Tried posting the other day, but it didn’t go through. Trying to be more brief this time.
Nirvana is a Great Theme. Love the clean full width feel, but wish it had some of Tempera’s features. I like the cryout columns better in Tempera since the title over the top of the image seems more functional (users don’t just scroll by not realizing they can hover and get text). I realize these options can be changed, but I really like when the image shows completely before hovering.
I also like the slider in Tempera better. Like that the text/title can be contained in a tidy area in the corner. Again, this seems more functional as it’s easier to read when the text is confined to a smaller darkened area and the background image doesn’t interfere with the visibility of the text.
Whitespace is an issue. It doesn’t appear that there is a simple way to control the whitespace (margins/padding) above and below sections/elements. A lot of people have commented about the excessive whitespace, so it’s obviously an issue for many users. Would be great if there was a simple way to control this in Nirvana settings.
Wondering if it would be better to let users define and design the presentation page, just like other pages, but utilizing special widgets like slider, cryout columns. Using something like Page Builder they could make columns and arrange sections as needed.
Overall great looking themes! Just need a little tweaking to make them even more functional.
Hi
I want to add a line of text to the social media bar and a small image. I’ve tried adding to the header.php but it doesn’t appear. Any ideas welcome!
Hi Cryout Creatiions,
I’m currently unable to upload any images from my Parabola Theme Appearance Section. I have been having this issue for almost a month now. I’ve googled this issue and people mention deactivating all plugins as well as deleting all cache or history. I have tried several times and I still get this error. Also Im positive the images Im trying to post do no exceed any upload capacity and are the correct media form. I’m fairly new to wordpress let alone coding. I’m hoping someone can give me a simple enough troubleshoot walkthrough to figure out what it is I can do to get ny site back to uploading images online. Thanks in advance!
/Users/Migs/Desktop/Screen Shot 2015-02-18 at 3.13.13 PM.png
Best,
Miguel H.Can someone help a gal out please?
I want to have Google Adsense on my Home page of http://www.CharityWishList.ca
I have the code copied from Google Adsense for the ad.
How do I get it onto the webpage?We’re using Nirvana and it’s pretty dang fantastic—definitely a great way to with minimal effort (on our end) have a slick-looking website. I did just spend 20 minutes trying to figure out why the animations on the cryout columns were broken after updating though. Turns out that the animations are cleverly disabled for situations where the resolution of the display are too low for them to work properly, but I had to dig through search results to find that buried somewhere.
I appreciate the failure-state saving me from myself, but if the mouseover help for the “Column Display” setting could note that the animations will automatically disable themselves when viewed at lower resolutions, it might save some pain for future users.
Topic: Double title tag
There are double title tags defined in nirvana/includes/themeloop.php line 404/405. So you havet to change
function nirvana_thumbnail_link( $html, $post_id, $post_image_id ) { $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>'; return $html; }; // nirvana_thumbnail_link()to
function nirvana_thumbnail_link( $html, $post_id, $post_image_id ) { $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>'; return $html; }; // nirvana_thumbnail_link()Thanks
Michael