jcpacelli
Forum Replies Created
-
Forum: Plugins
In reply to: [10WebSocial] Buttons aren’t displaying in lightboxHi, sorry for resurrecting an old thread, but I’m running into the same issue with the fontawesome icons not displaying on a different feed. Can you elaborate with how i go about displaying the proper fontawesome version?
Thanks
Forum: Plugins
In reply to: [Instant Articles for WP] Facebook Instant Articles and gallery shortcodesYou’re right, they don’t. I finally got to the bottom of how they work on my site. The was I understand it is this:
Instant Articles match a lot of default WordPress functions so they display properly. But, a lot of themes don’t adhere to the default WordPress functions. Therefore, Instant Articles has no idea what “awesome-gallery-edit-wrapper” is (in the OP’s case).
So to allow compatibility with most themes, classes, shortcodes, etc., they created the ability to make Custom Transformer Rules which tell Instant Articles what “awesome-gallery-edit-wrapper” is.
So, in my case, Instant Articles didn’t know what a couple of my shortcodes were, so I had to tell it what they were or simply tell them to ignore it. You match your selectors to their predefined Transformer RulesHere are my custom transformer rules:
{ "rules": [ { "class": "PassThroughRule", "selector" : "span.dropcap" }, { "class": "AnchorRule", "selector": "a", "properties" : { "anchor.href" : { "type" : "string", "selector" : "a", "attribute": "href" } } }, { "class": "LineBreakRule", "selector": "br" }, { "class": "SlideshowImageRule", "selector" : "dl.gallery-item", "properties" : { "image.url" : { "type" : "string", "selector" : "img", "attribute": "src" }, "image.caption" : { "type" : "element", "selector" : "gallery-caption" } } } ] }So, to explain that code, the first one is only telling Instant Articles to ignore my
span.dropcapselector, using the PassThroughRule. The second one is telling IA that myais a link, using their AnchorRule. Notice there are also properties associated with that portion of code. Some of IA’s rules take parameters, and in this case, all that is doing is specifying what the type is, etc. Third one is just telling IA that mybrselector = LineBreakRule. The fourth one is just like the AnchorRule from above. It’s just telling IA that mydl.gallery-itemis a slideshow image using IA’s SlideshowImageRule. The properties of that one just define which selector = the image.url and the image.caption.It seems a lot more complicated than it really is. Just pay attention to the syntax when making your custom transformer rules. ie, “class” is not your CSS class, it’s IA’s predefined Transformer Rule.
Forum: Plugins
In reply to: [Instant Articles for WP] Facebook Instant Articles and gallery shortcodesAny luck on this? Also having a similar issue
Forum: Plugins
In reply to: [Instant Articles for WP] Correct Transformer rule for [caption] shortcodeAny updates to this? Also having shortcode issues. Theyre displaying as straight text.
Forum: Plugins
In reply to: [10WebSocial] Description LengthSorry to resurrect an old thread but I discovered an interesting issue regarding the way I have these description lengths setup. I have the description set to have a max of 4 lines but on mobile, when tapping the excerpt, it compresses down to one line and then you must tap it again for it to fully expand the description.
I tried changing it to only show 1 line to begin with but then, when tapping, it shifts the text and then you must tap it once more to expand the description fully.
Any suggestions?
Forum: Plugins
In reply to: [10WebSocial] Buttons aren’t displaying in lightboxYeah, they aren’t working for some reason. But I decided to go a different route. I’m just linking straight to IG from a click instead of dealing with the lightbox. I had a hell of a time making the info box actually responsive. I’m showing 4 lines of the caption and on mouseover, the full caption is displayed. Here’s my code I’m using for the concatenation of the ellipsis as well. I found this is the best solution.
#wdi_feed_0 .wdi_photo_title{ overflow:hidden; position:relative; line-height:1.5em; max-height:6em; text-align:justify; margin-right:-1em!important; padding-right:1em; } #wdi_feed_0:hover .wdi_photo_title:hover{max-height:100%;} #wdi_feed_0:hover .wdi_photo_title:hover:before{content:'';} #wdi_feed_0 .wdi_photo_title:before{ content:'…'; position:absolute; right:.4em; bottom:0; } #wdi_feed_0 .wdi_photo_title:after{ content:''; position:absolute; right:0; width:1em; height:1em; margin-top:.2em; } .wdi_layout_ms .wdi_photo_title{ margin-left:3%!important; } .wdi_layout_ms:hover .wdi_photo_title:hover{ margin-left:5%!important; }- This reply was modified 9 years, 1 month ago by jcpacelli.
Forum: Plugins
In reply to: [10WebSocial] Buttons aren’t displaying in lightboxyes, the link is here: http://www.communityfirstmc.com/carology/
i’ve checked their colors and tried changing them. they should be white over a red background. I’ve got the Container Opacity at 80% and the Button Opacity at 100%
Seems that the only link that is working (but still not visible) is the Open in IG link. The mouse doesn’t find the controls, info, fullscreen, etc. buttons
Forum: Plugins
In reply to: [10WebSocial] Description LengthWell, for anyone else that would like to do this, here is the code that I figured out for it:
#wdi_feed_0 .wdi_photo_title{ overflow:hidden; position:relative; line-height:1.5em; max-height:6em; text-align:justify; margin-right:-1em!important; padding-right:1em; } #wdi_feed_0 .wdi_photo_title:before{ content:'...'; position:absolute; right:.4em; bottom:0; } #wdi_feed_0 .wdi_photo_title:after{ content:''; position:absolute; right:0; width:1em; height:1em; margin-top:.2em;background:white; } .wdi_layout_ms .wdi_photo_title{ margin-left:3%!important; }Forum: Plugins
In reply to: [10WebSocial] Description LengthYes, I’d like to truncate the description and append with an ellipses after X amount of lines or characters. Either way would work for me
Thank you! That fixed that part of the issue; the images are now displaying. However, I suspect there may be another issue because the FancyBox lightbox, for example, doesn’t load at all. After inspecting, there are still the same jQuery errors.
I also can’t seem to get the ‘Buy’ button to display on any of the lightboxes. Is this because I am still in the SmugMug trial (I realize this may be a dumb question and I do plan on subscribing provided I can get all this to work)
Thanks in advance for your help
Forum: Plugins
In reply to: [Custom Contact Forms] Style Completion MessageDid you ever figure this out? I too am looking to do something similar.
Thanks,
-John
Did you ever find a solution to this? I too would like to accomplish something similar.
-John
Forum: Themes and Templates
In reply to: [Virtue] WooCommerce Reviews not showingI figured it out. Had to edit my functions.php file to not have Disqus override woocommerce reviews.
Thank you for your time.
Forum: Themes and Templates
In reply to: [Virtue] WooCommerce Reviews not showingMy site is under construction but I’ve linked to a screenshot of my product page.
http://www.therevrepublic.com/wp-content/uploads/2015/01/Screen-Shot-2015-11-12-at-12.02.00-PM.png
Forum: Themes and Templates
In reply to: Virtue "Theme Options" missing after updateI had the same issue and Theme Options now shows after installing the Virtue Toolkit plugin but clicking Theme Options brings me to an error page. “Page not Found”
The URL it sends me to is:
http://www.therevrepublic.com/wp-admin/admin.php?page=ktoptions