Forum Replies Created
-
AuthorPosts
-
Rikard,
The function code I am using in function.php is as follows
function custom_shortcode_func() {
global $post;
ob_start();
?>
ID); ?>”>E-MAIL LINK LINK TEXT
<?php$output = ob_get_clean();
return $output;
}
add_shortcode(‘my_shortcode’, ‘custom_shortcode_func’);What I want to do is for you to click on a button and this will activate a link to an e-mail with the subject being title of the portfolio. So people can enquire about this item
I am trying to get this to work in the excerpt of the portfolio image on the thumbnail but does not seems to work see “First Edition” thumbnail on http://kibantiques.staging.wpengine.com/current-stock/ (hosted on WPengine) I am not sure what I am doing wrong
Vinay,
This does not seem to achive what is required what is needed is for all the buttons to be aligned with the text boxs being of the same size whether on tablet iphone or desktop so all columns are aligned. if I use what you suggest alignment will be either top, middle or bottom so each columns will appered to be skewed dependant where the aligment is selected. The issue is to ensure the text boxs are all the same size. I hope you can help.
Pete
May 26, 2016 at 6:39 pm in reply to: Background Logo want to show over Image Banner on Holding Page #638882I have resolved thansk
peter
Yigit,
Thanks I have used in functions.php file:
add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
function kriesi_logo_addition($sub) {
$sub .= “VP Solutions Ltd”;
return $sub;
}If I want to add another comment below the title of the Company name such as “Taking vending to the next level” similar to the of you logo how can i achieve this ?
Yigit,
Sorry here you are
http://vpsolutions.wpengine.com/ (hosted on WPengine)Yigit,
Thanks for this have added to functions .php file but does not show up ??
Can you advise
many thnaks
pete
I think I have found the issue there seems to be in the new version A “breadbrumb” Hierachy selection I have selected the parent page and all looks ok however this means I have to go through all images and select this. Is there any way I can set this by running a script or something ?
Could you have a look at this please ASAP as this is really causing an issue with client
Many Thanks
Pete
Sorry just got to pc have now posted credentials
Rikard,
I have added the code into the php file but the format of the breadcrumb changes. So I taken this out.
If you goto http://www.britishartportfolio.co.uk/art-portfolio-item/bramble-with-white-bowl/ you will see the breadcrumb on the right shows as
“You are here:Home/Scultpure / Arabella Brooke Portfolio /” but should show as “You are here:
Home/Contemporary Art/Jill Barthorpe Portfolio/” as do the majority of the rest of the other artists images doIf I add the code in the php the breadcrumb format alters
“You are here:Home/Jill Barthorpe / SOLD /” which is not as the original format and the client is very unhappy. Can you please help.
Update later that evening : Rikard I am very confused and worried I have just been on site at http://www.britishartportfolio.co.uk/art-portfolio-item/bramble-with-white-bowl/ and breadcrumb has changed now to
“You are here:Home/Contemporary Art/Anne Lever Portfolio/” ???
I do hope this can be fixed ASAP otherwise customer will be very unhappy is there a cache issue or somehting is very wrong here with the breadcrumb not showing correctly and this looks the same for all other paintings
Please please helpFurther update I have logged onto another computer and see two different breadcrumbs against the same page: for this url
On my PC breadcrumb shows as You are here:
“Home/Contemporary Art/Anne Lynch Portfolio/”On another PC
“Home/Sculpture/Arabella Brooke Portfolio/”I have tried resetting cache on both browsers but does not alter the breadcrumbs remain as above !!
- This reply was modified 8 years, 7 months ago by condonpb.
Andy,
I think you have missed the question the issue I am asking is where can I manually set this as in hotspots you only set bymoving the hotspots into posisition. What I am trying to do is to refine the exact position and need to alter the individual element style. So that currently the hotspot the individual element.style {
left: 10.8%;
top: 46.1%;
}I want to adjust this to
element.style {
left: 10.9%;
top: 46.1%;
}So how can I manually alter the css to get this as this is such a small change I cant do it by moving the hotspot manually
Ok please try now
I am using hotspots which is great on the following donation page see https://www.jamestest.co.uk/donations/ however as you can see i want to align the hotspots centrally by 0.1% currently the element shows
element.style {
left: 10.8%;
top: 46.1%;
}I want to adjust to
element.style {
left: 10.9%;
top: 46.1%;
}but this is really difficult manually against the image as it is such a small amount how can I make such a refined adjustment please can you help
I can get on to the link there maybe an issue with SSL but if you get error, just proceed then let me know and I will resolved with host
Ismail not sure what you mean by disabling the portfolio session breadcrumb how do I do this
April 7, 2016 at 12:18 pm in reply to: Want to use RGBA and opacity for background colour on my site #609533Ismael
I dont only want to use this for the header but also the rest of the body as well. please see http://www.peter-test3.co.uk. and mae siteI have tried entering this in the css and altered the header behaviour but only see colour #dedede I am trying to get a slightly transparent effect like the mae site using colour with opacity.
If I add the opacity and rgba as below still no opacity shows !! Can you please help
.main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content, .main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a, .main_color .tweet-text.avatar_no, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img, .main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon, .main_color .related_posts.av-related-style-full a:hover, .main_color.avia-fullwidth-portfolio .pagination .current, .main_color.avia-fullwidth-portfolio .pagination a, .main_color .av-hotspot-fallback-tooltip-inner, .main_color .av-hotspot-fallback-tooltip-count {
background-color: rgba(222, 222, 222, 0.2);
color: #666666;
}- This reply was modified 8 years, 7 months ago by condonpb.
Andy have de-activated all plugins on the site and re-tried this but still issue.
- This reply was modified 8 years, 7 months ago by condonpb.
April 5, 2016 at 7:53 pm in reply to: Want to use RGBA and opacity for background colour on my site #608500Yigit, the site at http://www.mae.co.uk/ uses the background grey with opacity for the colour ie #dedede with an opacity of factor which makes the grey slightly lighter it use background ie background: rgba(222, 222, 222, 0.95) none repeat scroll 0 0; I have tried in vain to get this effect and cant we need a grey colour element with opacity applied to the specific color.
Hope this makes sense.
Peter
April 5, 2016 at 6:26 pm in reply to: Want to use RGBA and opacity for background colour on my site #608424yes I am trying to achieve the same colour background grey as this site at http://www.mae.co.uk/ this I believe uses opacity. I want to encorproate this grey at my development site at http://www.peter-test3.co.uk/.
Can you please help.
I am not using breadcrumb from seo yoast will try de-activating plugins and get back to you in the next few days
- This reply was modified 8 years, 7 months ago by condonpb.
Many Thanks Rikard,
This has worked. Just noticed there is also issue with the footer e-mails on the mailto that seem to be clipped when viewing on ipad in landscape. Can you help pleaseMany Thanks
This can now be closed
Pete
Josue,
I am not sure you have understood this. Sorry I probably was not clear.
On the website there are some different type of posts some are post of images of sculptures, and some are posts with images of paintings.
So on each post type ie scultpure or paintings there needs to be only one link for each type.
So for the paintings posts we would use one shortcode 1 which would use `?>
<a href=”mailto: (Email address hidden if logged out) ?subject=Enquiry on Paintings<?php echo get_the_title($post->ID); ?>”>Enquire about this painting</a>
<?php`
and for the scultpure posts we would use shortcode 2 which would use `?>
<a href=”mailto: (Email address hidden if logged out) ?subject=Enquiry on Scuptures<?php echo get_the_title($post->ID); ?>”>Enquire about this sculpture</a>
<?php`I hope this is clearer.
Many Thanks
Pete
- This reply was modified 8 years, 9 months ago by condonpb.
Josue,
Thanks for this it works if I want to add another link with different description what would i need to add to this code in the file i.e
my_shortcode = ID); ?>”>Enquire about this painting
my shortcode1= ID); ?>”>Enquire about this sculpture
January 26, 2016 at 10:37 am in reply to: Telephone Numbers show as grey link link color as background in iphone #572002Can now be closed
January 26, 2016 at 10:36 am in reply to: Adjusting Text on Title on Hover for E-mail Social Icon Element #572000Many Thanks That has done it
Yigit
I have tried this with plugin but still does not work. Have tried
<a href="mailto: (Email address hidden if logged out) ?subject=[insert_php] echo get_the_title(); [/insert_php]">E-MAIL LINK LINK TEXT</a>
Please see: http://www.peter-test3.co.uk/art-portfolio-item/ana-bianchi-whistledown-farm/
E-MAIL LINK LINK TEXT if you click on here you can see what I mean can you help please
I have also left login details if that helps for wordpressMany thanks
January 23, 2016 at 7:36 am in reply to: Adjusting Text on Title on Hover for E-mail Social Icon Element #570473Andy,
I dont want to translate text all I want to do is change the label of a pop up from “Share my” to “Enquire by” it seems a bit over kill to use a plugin to modify some text on a label can you tell me how to modify this label on the e-mail share please.
PeteVinay,
Enclosed are details as requested
Many thanks
Pete
Basillis,
Sorry I am not very familiar with jquery where should I put this code. Could you please be very specific as I have little experience in this area.Many Thanks
Pete
-
AuthorPosts