This topic contains 18 replies, has 2 voices, and was last updated by David 1 month, 1 week ago.
March 24, 2020 at 2:41 am #1208139
Hi , i would like to create the Next – Previous style on my ecommerce site like it is in Imprint , i find it really cool and modern .
So i have created the Hook like it is in Imprint
I have inserted the Css but it will not work .
When i activated the imprint in a new install it worked 100% , but if i copy the hook and the css and paste it to my other site it will not show anything !
Should i do something more than just that hook and its css ?
Κατασκευη Ιστοσελίδων https://www.funkycss.comMarch 24, 2020 at 4:17 am #1208208
David Customer SupportMarch 24, 2020 at 4:22 am #1208210
Hey David ! Yes i have updated the link and removed coming soon .
I have created the hook like the imprint
have add the Css code !
Κατασκευη Ιστοσελίδων https://www.funkycss.comMarch 24, 2020 at 5:22 am #1208252
David Customer Support
odd – the hook is working as i can see the prev_next container it displays. But it is empty which means the links function is not working.
Can you share the exact code you have in your Hook Element ?March 24, 2020 at 7:54 am #1208603
Hi David thank you for checking this
<?php echo '<div class="prev_next_buttons">'; $previous = next_post_link('%link', '←'); $next = previous_post_link('%link', '→'); echo $previous; echo $next; echo '</div>'; ?>
Hooked to all products
Disabled all other plugins and not working still –
Κατασκευη Ιστοσελίδων https://www.funkycss.comMarch 24, 2020 at 1:20 pm #1208904
David Customer SupportMarch 28, 2020 at 5:11 am #1212843
Hi David ,
I tested a million times , and i noticed that it will play to all templates except MERCH .
Κατασκευη Ιστοσελίδων https://www.funkycss.comMarch 28, 2020 at 5:48 am #1212876
David Customer SupportMarch 28, 2020 at 6:00 am #1212889
I have removed Jump to Description and social shares .
I have tested it with installing Merch and the next previous does not work , when i enable any other template it works !
i will find what actually is the issue , maybe something with css or other hooks ? i will go deeper and i will inform if some one is interested to implement this in Merch template
Κατασκευη Ιστοσελίδων https://www.funkycss.comMarch 28, 2020 at 7:58 am #1213117
David Customer SupportMarch 28, 2020 at 8:24 am #1213134
Hi , Yes i have removed that too actually , but i have added a CTA before footer to all pages with some text , i will remove it and remove all css to check if this is the issue , cause it does not makes sense , the php you have added it works everywhere except with the merch template , so there is the issue .
I belive i am near to solve that , and it would awesome i like that next previous as you have implemented 🙂
Κατασκευη Ιστοσελίδων https://www.funkycss.comMarch 28, 2020 at 9:40 am #1213203
David Customer SupportApril 18, 2020 at 5:56 am #1244049
Hi David so i finally Figured out why Next – Previous Buttons are not showing on some templates as they are conflicting with BLOG addon .
So i used your code `<?php
echo ‘<div class=”prev_next_buttons”>’;
$previous1 = next_post_link(‘%link’, ‘←’);
$next2 = previous_post_link(‘%link’, ‘→’);
And added it to my site with all the stuff you have fixed etc.
When i activate BLOG addon they will not be displayed , when i have BLOG addon disabled they will work in woocomerce products , any solution to this one ?
Κατασκευη Ιστοσελίδων https://www.funkycss.comApril 18, 2020 at 5:59 am #1244056
This one will happen only when you have onother template like merch with the blog addon opened . i believe there is some comflict with the options there , i will give it a try with all options reseted in blog or with the custom elements for the blog display .
I will back asap
Κατασκευη Ιστοσελίδων https://www.funkycss.comApril 18, 2020 at 8:40 am #1244384
So i have disabled all css all other elements even plugins and left BLOG Addon – > https://imgur.com/khJ31cp ( Not Working )
Removing Blog Addon – > https://imgur.com/8DvkVJn ( Working)
Even if i remove settings from blog will not show up with the blog addon
Κατασκευη Ιστοσελίδων https://www.funkycss.com
You must be logged in to reply to this topic.