Forum Replies Created
-
AuthorPosts
-
December 9, 2015 at 4:57 pm in reply to: Custom display of a sidebar on the author page (archive) #549871
Great, that works now
Thank you
Resolved.December 9, 2015 at 4:43 pm in reply to: Custom display of a sidebar on the author page (archive) #549857It’s works now
But type pages still show the sidebar
I added
.archive.tag .sidebar {display: none !important;}
but doesn’t work. What’s the right code for that ?December 9, 2015 at 4:08 pm in reply to: Custom display of a sidebar on the author page (archive) #549811This code makes disappear the sidebar only in category pages, not in archives :
Archive
Category
Author pageDecember 9, 2015 at 3:40 pm in reply to: Custom display of a sidebar on the author page (archive) #549778BTW, is it possible to install custom sidebars for archives ?
December 9, 2015 at 3:45 am in reply to: Custom display of a sidebar on the author page (archive) #549407Sidebar set in archives.
Here’s an exemple : http://www.newpointdeview.com/mag/Sorry, what do you mean “codeblock” element in the page ?
- This reply was modified 9 years ago by Anton.
Great !
Thank you.
Resolved
Hey Yigit,
it’s working, thank you. Archives are boxed as well.
But actually I wanted this boxed style only in posts.
Do you think it’s possible ?Sorry about that
http://www.newpointdeview.com
Boxed layout setHi,
my site is now online. Here’s my initial request in this thread :I didn’t find the solution in this forum. Have tried to change the code this way, but that didn’t work.
I’d like to display all my pages in full width (home, blog, etc.), but all my posts in boxed layout style. What would be the solution, pls ?Well done, it’s working.
thank you.
Resolvedthank you
resolvedThank you
ResolvedOk, thank you, guys
RESOLVED
Hi
I thought about this solution before, but my questioning is – is it possible to automate this process?
I mean that this page could be shown automatically every time I update the plugins or do some works on my site…as I mentioned this grid-code is useful using “the advanced layout editor” style in Enfold child theme options > Blog Layout. As the blog style doesn’t allow to show a custom blog layout that on may want to have.
Cheers,
1. Is it the same with the Maintenance page?
2. I’ve seen an example of this page in Enfold’s presale presentation: http://kriesi.at/themes/enfold/pages/blank/maintenance-mode/ but I don’t know how could I visualize it on my localhost?
hey @Josue
thank you very much, perfect help as usual!
May I ask you another question for the same loop-index.php?
How could I change the order in class=”post-meta-infos”? I’d like this order: Date, Author, Taxonomies, Comments
I’ve tried to add to functions.php (child theme) the next code, but that didn’t work:echo "<span class='post-meta-infos'>"; $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false)); echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>"; echo "<span class='text-sep text-sep-date'>/</span>"; echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." "; echo '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>'; echo '<span class="vcard author"><span class="fn">'; the_author_posts_link(); echo '</span></span>'; echo '</span>'; echo '</span>'; $taxonomies = get_object_taxonomies(get_post_type($the_id)); $cats = ''; $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id); if(!empty($taxonomies)) { foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } if(!empty($cats)) { echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." "; echo $cats; echo '</span><span class="text-sep text-sep-cat">/</span>'; } if ( get_comments_number() != "0" || comments_open() ){ echo "<span class='comment-container minor-meta'>"; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo "</span>"; echo "<span class='text-sep text-sep-comment'>/</span>"; } echo '</span>';
Actually, I’ve just found the solution.
Using a custom blog layout page build with the advanced layout editor YOU CAN show your archives and tags pages in “grid layout” style. Following this “Change archive (category/tag) blog style” tutorial, replace it by this code in your child theme function.php:Categories
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'blog-grid'; return $layout;}
Tags
add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'blog-grid'; return $layout;}
That’s it !
Now I don’t understand why all Kriesi stuff’s telling one would need to modify the archive.php file or even hire a freelancer..?
I’m sorry,
is it possible simply to make archives and tags pages to be shown like in “grid layout blog style” while using a custom blog layout page build with the advanced layout editor?
A piece of code to add somwhere?
Because, personnaly, I don’t absolutly want to seeing my archives showing the totality of posts content in continues infinity line …And how can I know what’s the name ot the taxonomy I need to exclude?
Sinci Polylang author gave this code to resolve the problem:$excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array('post_tag','post_format') ); $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', $excluded_taxonomies, get_post_type($the_id), $the_id);
Elliott thank you,
just one more question : if in next Enfold update loop-index.php will be modified, since I copied the entire file – does it mean my child theme won’t take into consideration the updated modifications?
Worked, thank you.
Resolved
The line 89 in avia-builder.css (config-templatebuilder\avia-template-builder\assets\css) which is
div.mce-toolbar-grp{min-width: 100%;}
makes the tools panel overpass all content on its right. And covering Publish and preview buttons : https://www.dropbox.com/s/2pak305nao9xhy1/ScreenShot_20150908112029.png?dl=0
https://www.dropbox.com/s/65f3x8pflclc5dw/ScreenShot_20150908112342.png?dl=0So I need to put the code
div.mce-toolbar-grp {min-width: inherit;}
into my child theme, but I don’t know how. FYI: Quick CSS didn’t work with “inherit !important”.
Any other suggestions ?Ok, got it.
Now, since I’m a dabbler could you advice where can I find the right code syntax for Scoop.it and Flipboard share buttons ? I’ve got a look at thier tools pages, but they’re talking about thier native buttons / badges.For instance for Flipboard it would be :
'flipboard' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://flipboard.com/share
…And after that I’m lost, since each social player has its own extension:
Article?mini=true&title=[title]&url=[permalink]"),
sharer.php?u=[permalink]&t=[title]"),
share?url=[permalink]" , 'label' => __("Share on Google+",'avia_framework')),
etc.
@Rikard
I’m on localhost.
But if you compare these toggles http://kriesi.at/themes/enfold/shortcodes/toggles-accordions/#toggle-id-3 and those http://bit.ly/1JJOhw4 – you can easily see the difference.
So my question is : is it possible to render Enfold’s toggles as fluid and smooth as that: http://bit.ly/1JJOhw4Thank you
Resolved
is it possible to do the same using my child theme ? I’m always trying to avoid modifying original files
DONE !!!
Thank you !RESOLVED
nope, nothing happens
-
AuthorPosts