July 3, 2014 at 2:30 am #286451
I have found in other posts that the cause of my issue (pagination not working correctly on portfolio pages) is the WP SEO plugin by Yoast. But I cannot find the location of the file cited in this post: http://www.kriesi.at/support/topic/wordpress-seo-yoast-theme-updates-too-many-redirects/ among the Angular files. Can you help me?
BasiaJuly 3, 2014 at 10:15 am #286552
Hi, I have the same problem as you on the home page, the navigation items do not work with SEO by Yoast.
I just followed the recommendations of Peter in the given link and it works.
2 files to edit:
enfold -> config-wordpress-seo -> config.php (lines 17 and 18 are eliminated)
remove_action('template_redirect', 'wpseo_frontend_head_init', 999); add_action('template_redirect', 'wpseo_frontend_head_init', 9);
enfold -> config-TemplateBuilder -> avia-template-builder -> php -> template-builder.class.php (we replace line 174)
add_action( 'template_redirect',array($this, 'template_redirect') );
add_action( 'template_redirect',array($this, 'template_redirect'), 1000);
It works for me.
July 3, 2014 at 1:49 pm #286657
- This reply was modified 1 year, 2 months ago by freepixelweb.
Thank you, I have seen this link. My problem is that I am not using Enfold theme. I am using Angular theme. And I am not finding the path posted here to lead to the file where the changes are to be made. I am not seeing folders called config-wordpress-seo or config-TemplateBuilder. The folder structure in Angular must be different. What I have is for example:
angular > config-bbpress or angular > config-wpml
Other than that, directly inside the angular folder I have the following folders: css, framework, images, includes, js, and lang.
I am guessing the change is done in a file that belongs to the theme, not the Yoast’s plugin. Or am I missing something else?
BasiaJuly 3, 2014 at 2:01 pm #286668
Btw, I now have an SEO plugin by Joost de Valk. My pagination is still not working. I have deactivated that and all other custom plugins; no change. I do not want to have to uninstall the plugins if there is another way to fix the problem. I saw elsewhere a suggestion to “flush permalinks” but quite honestly I do not know what that means. My permalinks are set to “post name.”July 3, 2014 at 2:22 pm #286675
Sorry, I dont see the theme section in the breadcrumb.
Good luck in your search…
JeanJuly 4, 2014 at 5:41 pm #287309
It works now. I just had to set the front page option here: http://basiacoulterdesign.com/wp-admin/admin.php?page=avia
PeterJuly 5, 2014 at 2:47 pm #287512
I appreciate your help with this, and apologize if it was a simple fix, but I am still not sure which option you set. Was Frontpage Setting not set to the Welcome… (meaning my front) page?
On another, albeit related matter. Please visit the front page: http://basiacoulterdesign.com/; then go to page 2 using the pagination navigation; and then try to navigate to another portfolio category using portfolio navigation. It’s not working correctly. From page 2 of the portfolio there is no way to navigate directly to any of the categories of the portfolio menu (All, Branding, Community Service etc). One has to return to the front page to do that. If you look at the url, once you get to page 2, the display stays on http://basiacoulterdesign.com/page/2/ no matter to which portfolio item you navigate. Not very intuitive. I imagine a user would like to be able to navigate to any place in the portfolio from any place in the portfolio. Any ideas?
Also, an individual portfolio category displays only four portfolio posts and pushes the remaining ones to page 2. For example, in the portfolio category Print, I have 5 posts. When I navigate to the Print category from the front page, I see only 4 posts displayed and have to navigate to page 2 to see the 5th one. Is there any way to force portfolio category pages to display the same number of portfolio posts (in my case 16) as the main portfolio page?
Thanks for your help!
BasiaJuly 6, 2014 at 3:24 am #287618
Thank you for the update.
Yes, Dude set the front page or homepage on Theme Options > Frontpage Settings. Maybe, you set the homepage using the Settings > Reading panel. Regarding the sort feature, regretfully, that is the limitation of the category sort function. You can disable the pagination then show all your portfolio items on a single page in order to sort all items. Please visit Envato Studio or Werkpress if you want to customize the sort function. You can also vote or post the feature on our Feature Requests page.
IsmaelJuly 6, 2014 at 2:26 pm #287707
Thank you Ismael. I appreciate your response.
The link to Feature Request you provided leads to a Feature Request page for Enfold. Can I post a feature request for Angular on it as well? I am not seeing a dedicated page for Angular feature requests.
BasiaJuly 7, 2014 at 4:24 pm #288054
Angular does not have a dedicated feature request thread. I’ll mark this thread for Kriesi though in case he wants to add this feature. Tbh chances are very low that we’ll add this feature to Angular because of various reasons (technical problems, etc.). We might add it to Enfold if a lot of users request it but we usually don’t add new features to older themes like Angular or Propulsion.
PeterJuly 7, 2014 at 4:34 pm #288061July 7, 2014 at 6:51 pm #288131
You must be logged in to reply to this topic.