Forum Replies Created
-
AuthorPosts
-
Any news?
Idea: What if we put the single post template in child theme and select the blog sidebar on the right side?
Wich file in the theme is responsible for posts?Or is there another setting somewhere to force the Blog Sidebar on each post? We don’t need the option.
- This reply was modified 7 years, 1 month ago by elbnetz.
I understand. But could you tell me where in the database we would need to exchange information (and what) to ensure that a right sidebar is shown on a post?
Thanks.
We still need help. We fixed it on THIS PAGE by simply updating it. But this is NOT a solution for 61.000 posts, I am afraid.
There are lots of older posts that still don’t show a sidebar.Thanks.
Hi There,
The post is NOT a full-with post it is set to default. Default is set to right sidebar. But that only has an effect when we open a post and save it. Wich is impossible to do for 60.000+ posts.
Is there another solution?
Thanks.
Thanks, we used the following code and it worked well:
/**
* Add search toggle on left sidebar header layout
*/
add_filter( ‘wp_nav_menu_items’, ‘avia_append_search_side_nav’, 10, 2 );
function avia_append_search_side_nav( $items, $args )
{
if (is_object($args) && $args->theme_location == ‘avia’)
{
global $avia_config;
ob_start();
get_search_form();$items .= ‘<li id=”menu-item-search” class=”noMobile menu-item menu-item-search-dropdown”>
‘.$form.’
‘;
}
return $items;
}Thanks, but there must be an error in the code. We see now below the menu:
<form action="http://wp.serviceocean.com/" id="searchform" method="get" class=""> <div> <input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello" /> <input type="text" id="s" name="s" value="" placeholder='Suche' /> </div> </form>
Hi Ismael,
Thanks it works to show the magnifier icon.
How could we achieve to just show the search field?Thanks
- This reply was modified 7 years, 2 months ago by elbnetz.
Ok, you got the credentials.
Thanks.This reply has been marked as private.Sure
Sorry, I can’t provide login details. I am not aloud to to this by the client. Isn’t there a way to deactivate javascript by a little snippet for the functions.php?
Cheers, T.
Yes, this looks like the EventOn plugin. BUT: When we deactivated this there was no change. Problem still existed. It must be another javascript causing the problems.
Cheers, T.
We’ve found the solution:
$author_id = $entry->post_author; $author_name = get_the_author_meta( 'display_name' , $author_id ); $author_link = get_author_posts_url($author_id); $meta .= ' von <a href="'.$author_link.'">'.$author_name.'</a>'; $meta .= "</div>";
Thanks for leading in the right direction!
Cheers, T.
Hi Josue,
Thanks for your response!
The names are now linked, BUT the links are empty.Cheers, T.
Hi There,
Thanks for your answer. Unfortunately it doesn’t help, as we are not coders. Could you specify a little more what we need to do?
We already copied the postslider.php into our child theme. We think the important part is the following:
$author_id = $entry->post_author; $author_name = get_the_author_meta( 'display_name' , $author_id ); $meta .= ' von '.$author_name; $meta .= "</div>";
What do we need to do exactly to get linked names instead of just the names?
Thanks, T.
Thanks, solved.
Please see homepage, archive and posts.
You will find Blau, Grün, Rot, wich are custom taxonomies, wich should bee seen. Only the category “Allgemein” should be there.Thanks, T.
No it’s not. No images are shown on three different macs with firefox.
Thanks for your reply.
We avoided the problem by using a normal page with a blog listing short code, not declaring a blog page.Thanks!
Unfortunately it doesn’t.
When you open an existing article you should see on the right hand side a “format” box to select the format with wich the article should be published. But you don’t. Only if you deactivate and reactivate the box under options.
Thanks!
Perfect, MANY THANKS!
Sure
add_filter( 'avf_masonry_loop_prepare', 'avf_masonry_loop_prepare_mod', 10, 2 ); function avf_masonry_loop_prepare_mod( $key, $entries ) { $class = preg_grep('/category/', $key['class']); $getstr = str_replace('category-', '', implode(',', $class)); $categories = explode(',', $getstr); $cat = implode(',', array_map('ucfirst', $categories)); foreach ( $key as $post => $value ) { if ( $post == 'content' ) { $value .= "<div class='av-masonry-categories'>".$cat."</div>"; } $key[$post] = $value; } return $key; }
Hi Ismael,
We solved the problem our selves now.
Thanks, T.
Hi Ismael,
This is not possible I am afraid, as the customer as vpn connection with strict rules.
Is there another way to check what goes wrong?Does it make sense if we send you the postslider.php?
Cheers, T.
No, nothing has changed after the Update 4.4.2
Would you like to have a look?Hi Vinay,
Any News on that case?
Thanks, T.
As expected, Good News!
Thanks, T.
-
AuthorPosts