Forum Replies Created
-
AuthorPosts
-
Hello Andy,
I have a customised postslider.php for the BLOG GRID function on my page.
I want to have the short code wrapped around each blog post thumbnail.You will see that I have manually added some code after the excerpts with custom fields.
Now I just want to wrap the shortcode around the thumbnail on blog grid posts.Thanks,
AlvinSo does that mean I cannot have the images in the same aspect ratio?
Nevermind, I think I found a solution. I used:
if( get_post_type() == 'article' ) { } else { }
Hello Elliott,
Sorry but can you please let me know what code I should put in for that?
Say if I want to use code “<div>hello World</div>” and have it only show for only post type “articles” how would I type the code?Best,
AlvinWorks perfectly thanks
This reply has been marked as private.Thanks Yigit! You are amazing, works like a charm.
This reply has been marked as private.Hello,
The comment box shows now but somehow it is overlapping the sociial icons.
I added the code underneath the code at around line 245 and the page turns blank.
echo do_shortcode(‘[fbcomments]’);
Update: I removed this code in sidebar.php and it works now
Before:
echo "<aside class='sidebar sidebar_".$sidebar." ".$sidebar_smartphone." ".avia_layout_class( 'sidebar', false )." units' ".avia_markup_helper(array('context' => 'sidebar', 'echo' => false)).">";
After:
echo "<aside class='sidebar' ".avia_markup_helper(array('context' => 'sidebar', 'echo' => false)).">";
Alright! It works!
Thanks for the great support as always.
perfect, thanks for solving!
not even just adding the title below the image??
September 7, 2014 at 2:35 am in reply to: Where can I add html code so that I have a banner under the menu? #314660This works great.
One last request is, am I able to enter some code for it so it does not show on certain pages?I know (is_home() || is_front_page()) = not to show in frontpage but if I want it to not show on a certain blog post or page?
Is that possible?
Perfect thanks! did not have to use the plugin as well
Just did its still in square form :S now its 150×150
I want it slightly rectangular is that possible?July 21, 2014 at 7:01 pm in reply to: Where can I add html code so that I have a banner under the menu? #293970Hey Peter!
I meant to show on all pages except for Home page.
Is that possible?
July 21, 2014 at 3:48 am in reply to: Where can I add html code so that I have a banner under the menu? #293700Just another thing, is it possible to have it not show on the root domain?
July 20, 2014 at 2:47 pm in reply to: Where can I add html code so that I have a banner under the menu? #293617Thanks for the reply it works well!
I did not even notice that timeline! Thanks for the add. works perfectly.
The CSS for the thumbnail size
.small-preview{ width:150px; height:150px;}
for those who wish to do the same.October 17, 2013 at 1:28 am in reply to: Portfolio items stretched on mobile and safari web browsers #176783I think I know what is wrong with it.
The portfolio thumbnail was set to automatic scaling and i think the featured images was too small or something.
I set it to manual and use original size thumbnail and now it is working perfectly fine on safari and mobile.
Thanks!!
October 17, 2013 at 1:23 am in reply to: Portfolio items stretched on mobile and safari web browsers #176778Hey Yigit,
I am using Safari 6 on Macbook pro and iOS6 on iphone 4.
Thats weird because when in safari its all stretched but in chrome and firefox it is fine.Thanks it worked!
June 8, 2013 at 8:36 pm in reply to: [HELP] When activating Contact Form 7 plugin everything turns into text #123761Here is a screenshot of what happens when I activate the plugin:
It would be great if you can add a CLIENT slider where you upload logos of the clients and it is in grey scale and when hovered over it is back to colour.
-
AuthorPosts