-
Search Results
-
Hi, the following is kind of difficult to explain, so let’s hope I succeed in doing so. What I basically need to do is automatically show certain content felds on my portfolio pages. For example:
I have hundreds of customers which I added in the portfolio section. I’ve added the whole list of customer logo’s on a page. When visitors click on a customer logo to see the customer details page, they get details such as a quote, pictures, downloadable pdf files, and so on. This information is added through the Avia Layout Builder.
BUT, above the content of the Avia Layout Builder, I want to automatically show the following elements, because most customer detail pages will consist ONLY this info and it’s therefore a big timesaver to make this happen automatically:
– Show the customer logo (featured image)
– Show the customer name (page title)
– Show the customer country (assigned category)
– Show the customer website link (custom field added with Simple Fields plugin)On top of that, I’d like to be able to layout it somewhat so that the logo is placed to the left of the title+country+website. I’ve already tried adding some php in the single-portfolio.php file, but my PHP knowledge is very limited and I keep getting errors.
To call for the correct fields, I think it’s something like:
– Featured image: the_post_thumbnail( );
– Page title: the_title( );
– Assigned category: get_the_term_list( get_the_ID() )
– Simple Fields custom field: $customers_website = simple_fields_get_post_value(get_the_id(), array(3, 1), true);Below is an example of the code I’ve put together, which still has an error and seems to replace any content inside the Avia Layout Builder, but as I explained it’s supposed to just show above it.
<?php echo "<div style='float:left; border:1px solid #E1E1E1; margin-right:5%; margin-bottom:20px;'>"; if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail( ); } echo "</div>"; the_title( '<h3>', '</h3><p>' ); echo strip_tags ( get_the_term_list( get_the_ID(), 'customers_entries' ) ); $customers_website = simple_fields_get_post_value(get_the_id(), array(3, 1), true); echo "</p><p><a href='$customers_website' target='_blank'>$customers_website</a></p>"; ?>Any advice is greatly appreciated.
Thanks in advance!Topic: isotope with other plugins
I’m trying to use a 3rd party plugin – qtip2/craigsworks. I’m getting a jquery conflict with isotope. Could have something to do with imagesLoaded. Thinking I could detach isotope script from avia.js and only run it when needed.- this as I only need the Qtip plugin on a couple of pages.
Besides the portfolio stuff are there any front-end components using isotope in Enfold?
CheersTopic: Tab Color
I have spent the last 4 hours trying to change the color of the tab (not the container but the background part of the tab title) using every possible combination of custom css I can find on here but nothing works. In fact, no custom css for the tabs works except for the size option, this is my last attempt:
.tab {font-size:14px !important;}
.js_active .tab_titles .tab {
background-color: #0c962b !important;
}I also tried the information on this link: https://kriesi.at/support/topic/change-tab-colors-hover-text/
Nothing seems to make any effect. So, can someone please tell me the correct css to change the following:
Background of the tab title for active and inactive tabs
Color of the font for the title for inactive and active tabs
background color of the tab content box (where the content is actually added)Also, I am not a fan of the new support layout:-( Searching takes so much longer when each message is threaded in this way – and, it seems all of my favourites have been removed.
Thanks
Andrew
Viewing 30 results - 139,321 through 139,350 (of 142,717 total)

