Author Parameter in Shortcode
This topic contains 44 replies, has 2 voices, and was last updated by Paolo 10 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 1, 2016 at 7:07 pm #155882
done, copied and pasted in your new theme functions.php and no errors are coming up.
Let us know,
Thanks
April 1, 2016 at 9:05 pm #155973This reply has been marked as private.April 1, 2016 at 9:45 pm #155994Hi,
please add this to gd >> design >> scripts >> custom css:
#geodir-wrapper { width: 100%; } .single.geodir-page .header-area { display: none; }The second part will prevent the title from showing twice.
Thanks
April 3, 2016 at 8:11 pm #156915This reply has been marked as private.April 4, 2016 at 3:23 pm #157351Hi,
did you add the css I suggested?
It doesn’t look like it.
Let me know,
Thanks
April 4, 2016 at 4:32 pm #157429I made a mistake. Yes, it’s good now. Thank you!
April 4, 2016 at 4:39 pm #157436You are welcome 🙂
April 4, 2016 at 8:03 pm #157563This reply has been marked as private.April 4, 2016 at 8:30 pm #157607Hi,
please add this to your custom css:
#projectsTab .geodir_category_list_view li { margin-left: 0; margin-right: 0; }Thanks
April 4, 2016 at 8:34 pm #157610Perfect on the spacing!
Is there anyway to get more words in there now? Where is this section controlled?
Thank you.
April 4, 2016 at 8:40 pm #157614you need to add the parameter character_count in the function that I added to your theme.
basically change this part:
{echo do_shortcode('[gd_listings post_type="gd_contractor_projec" post_author="current" post_number="10" add_location_filter="0"]');} }with
{echo do_shortcode('[gd_listings post_type="gd_contractor_projec" post_author="current" post_number="10" character_count="150" add_location_filter="0"]');} }Thanks
April 4, 2016 at 8:42 pm #157616I am really sorry. You totally lost me there. I have no idea what to do with the above answer. Can you give me more instructions?
Thank you.
April 4, 2016 at 8:46 pm #157618I added a function to your child theme functions.php file to show those listings in a custom tabs, remember? (https://wpgeodirectory.com/support/topic/author-parameter-in-shortcode/page/2/#post-145630)
You need to find this part of that code:
{echo do_shortcode('[gd_listings post_type="gd_contractor_projec" post_author="current" post_number="10" add_location_filter="0"]');} }and replace it with
{echo do_shortcode('[gd_listings post_type="gd_contractor_projec" post_author="current" post_number="10" character_count="150" add_location_filter="0"]');} }Now all this is really beyond support and you should hire a professional if you want/need to customize anything else.
Thanks
April 5, 2016 at 2:00 pm #157873Hey Paolo,
I understand. I can do that for some customizations. Do you have anyone that you would recommend for “touchups”. I just need a few modifications to make it perfect now.
I have one other issue with the menus but I need to open another tread so you can close it after you take a look.
Thanks for all your help. It’s been a great experience!
April 5, 2016 at 4:33 pm #157963Just post in the jobs section of the forum. Guust might be interested.
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket