Jim Cibelli
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
That worked thank you so much for your help just so others know what I did in the future.
I removed the directory Previous/Next buttons by using the code
remove_action('geodir_details_main_content', 'geodir_action_details_next_prev', 80);
Then added the code
<div class="post_nav"> <span class="previous_post_link"> <?php next_post_link( '%link','⇦ Previous Post' ) ?></span> <span class="next_post_link"><?php previous_post_link( '%link','Next Post ⇨' ) ?></span> </div>
They go in chronological order.
Hey Dirk,
So the way the site is coded I’m going to need a Function() to call the previous/next code that kind of looks like function geodir_action_details_next_prev()
{
?>Because we want the code inside the header main content area not below it. Thank you for your help so far, I’m worried I’m not making myself clear.
Hey Dirk this is closer to what I am looking for. When say
remove_action(‘geodir_details_main_content’, ‘geodir_action_details_next_prev’, 80); It does remove the previous next code from the site.
But when I re-add the code add_action(‘geodir_details_main_content’, ‘geodir_action_details_next_prev’, 80);
It always appears in the same spot. I guess my question now is where is the function located that makes the hook possible?
The code I am looking for is something to move the geodir-pos_navigation up not a carousel. Right now in our functions.php file, we don’t seem to have any code that is calling it but it is showing on the page.
So I’m thinking all we have to do is add that code to call the geodir-post_navagation to hook it into the funtions.php and put it where we want it.
March 17, 2018 at 10:12 pm in reply to: Want to move Previous and Next Button Somewhere Else #421937I just need the code to call for the previous/next button on the function.php file. Once I have this I should be able to place it where I want to on the details page.
Right now we are not sure where it is pulling in form
I have been able to bold the entire thing using CSS and change the words but by client wants just a little bit more of customization.
Also, are you saying that you haven’t seen if customized with Java before like this? Because another dev might have done this before I started working for this company
I understand CSS styling but on the search, it looks like it is using JavaScript to pull in the text what I wanted to do was assign a <div class=”search-title”> to Find: and Nav: make those bold and another color while setting up everything after that in italics.
Now I tried doing this in GD > Design > Search but then the code got all weird
Is there a way to make part of it bold like
Find: Resturants, Cusines
Yep that was it thank you very much
Hi Guust,
Yes i saw that too but that is directly under the neighborhoods. But if you add it to a post type, and look for it under the post type, it shows up as the slug field for some reason.
Hi Guust,
I’m pulling in the neighbourhood just like the address that is attached to the custom post type. No issues with other fields because they are saved in database without hyphens but for some reason the neighbourhood field is saved in database with hyphens. How to pull it out without hyphens?
Why they hyphens for that field?
-
AuthorPosts