Forum Replies Created
-
AuthorPosts
-
Hi I was using the secondary nav as my main nav because of my design. I switched back to the regular method and dropdowns are better. You can close this ticket.
This reply has been marked as private.Thanks I just tried disabling one at a time and didn’t work.
October 17, 2018 at 8:02 pm in reply to: How to Combine both Posts & Custom Taxomy Categories in Blog Posts Element #1022989Thank you. When I add to functions.php in my Child Theme I get the error
Your PHP code changes were rolled back due to an error on line 9 of file wp-content/themes/enfold-child/functions.php. Please fix and try saving again.
Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of add_filter().Line 9 is $posts = get_posts(
of the code below….
add_filter( 'avia_blog_post_query', 'avia_blog_post_query_mod', 1000, 2); function avia_blog_post_query_mod( $query, $params ) {
$posts = get_posts(
array(
'posts_per_page' => 3,
'categories' => 369
)
);I tried uploading via FTP instead of using Editor and I got the white screen of death. LOL. If you can help with the code above then great, if not it’s ok too. I realize I might be pushing the support you offer. I have a workaround just trying to save some time with this solution.
Thanks Peter. Is there a topic that explains more about serialized data? If I restore both the database and all FTP files again and see don’t have my Theme Options could this be in part to serialized data?
When I customize the Theme Options in Dashboard after having a child theme set up does this write to the stylesheets inside wp-content/uploads/dynamic_avia? I have 2 stylesheets in here. One is enfold.css and another is a css file named for my child theme.
Thank you!
-
AuthorPosts