Tagged: blog post, pagination
-
AuthorPosts
-
May 11, 2016 at 9:35 pm #630966
Wordpress Version: 4.5.2
Enfold Version: 3.5.4Everything is updated on my end. When I use the Blog Post w/ Pagination it doesn’t work. It reloads the page with the same content.
May 12, 2016 at 7:11 pm #631529Hey albertoSSC,
Can you please create a testing page with pagination and post the link to it?
Also, please try de-activating all active plugins and check if that helpsBest regards,
YigitMay 12, 2016 at 7:17 pm #631534Hey Yigit,
I tried deactivating plugins already but to no avail. I’ve attached a link to a page that is using a blog post with pagination issues.
May 16, 2016 at 3:57 am #632643Hi,
Thank you for the info. Did you set this page as blog in the theme options panel? Please reset the Settings > Reading panel to default. Post the login details here so that we could check the site.
Best regards,
IsmaelMay 16, 2016 at 6:06 pm #633194Hi Ishmael, thanks for the reply.
I tried setting that New page as the blog in Theme Options, but it just overrode it with the standard blog roll.
The News page is just a normal page using a Blog Post shortcode module. Pagination works when I change the blog page in Theme Options to that page, but the styles aren’t what I want it to be and such.
May 18, 2016 at 3:54 pm #634574Hi,
There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:
Are we allowed to deactivate all your plugins after you’ve got a fresh copy from themeforest?
Best regards,
AndyMay 20, 2016 at 12:38 am #635614Hi Andy,
I deactivated each plugin one by one and it didn’t help at all. I then reinstalled Enfold theme files over FTP but that also didn’t work.
I ended up locating the chunk of code in my child theme’s functions.php file that is causing the error. Commenting it out fixes the blog pagination issue for the Blog Post module. I don’t see what would cause it though?
Here is the code culprit:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
To see whether it was the code in functions.php or the files in my child theme’s /shortcodes/ folder, I renamed all the files in the /shortcodes/ folder and left the code uncommented in functions.php, but the pagination issue still existed.
Any ideas?
- This reply was modified 8 years, 6 months ago by albertoSSC. Reason: More info
May 23, 2016 at 3:34 am #636482 -
AuthorPosts
- You must be logged in to reply to this topic.