Free Directory, Listing & Classifieds WordPress Plugin › Support › General › HivePress › Manually add add listing button
Manually add add listing button
there’s a button “add listing” at the top of the page. That’s ok, but I want to make it appear as big picture at the main page.
How can I place make “add listing” link appear somewhere at the page?
This button has a static URL, something like example.com/submit-listing So you can add a custom button to the header section (there’s a button block available in the editor), and link it to this URL.
You are right! Excellent. It didn’t work because I had the page set up as listing page- this seem to override everything. One more thing- how can I make this add listing button pre-select a category? I mean- my point is to make 2 buttons, one for add listings to category A, the other one for add listings to category B.
Sorry, forget it, I got it, target url need to be like /submit-listing/category/12247/
Any chance to make urls friendly in add listings? For instance /submit-listing/category/cat1/ instead of /submit-listing/category/12247/?
URL name in category settings doesn’t seem to work for that.
Unfortunately there’s no such option, HivePress fetches category IDs instead of slugs, but this page will not be indexed by search engines so it doesn’t affect SEO (it’s available to logged in users only).
Ok, nevermind. One last thing- I want to have my initial page showing contents of /submit-listing/category/. I mean to immediately let user select category and add listings without need to click add listing button. Is this possible?
Unfortunately there’s no way to do that because this page requires an account, so there will be a redirect for guest users, or an empty page. At the moment static pages (like the listing submission page) can’t be selected as a front page, WordPress lists only non-static pages in the drop-down in Settings/Reading section.
You can consider using the front page as a landing page with a large call-to-action “Add Listing” button.
You must be logged in to reply to this topic.