WordPress assistance please

ultramel1987

Well-Known Member
Joined
Dec 31, 2010
Messages
193
Reaction score
0
HI there

I wonder if someone could perhaps help me with WordPress please? (Wordpress.org hosted on domain)

I was wondering. Is it perhaps possible to add a custom menu for each "post" instead of each category or page?
Eg, In each of my posts for "restaurants" - I want a menu which has "about" "menu" "image gallery" "contact us" -
but for each of the restaurants / businesses I add.

Does this make sense?
Is it possible?

thank you
 
Anything and everything is possible.

There are many ways to achieve this:
1- One way to achieve this would be to create a template for "restaurants" (you'd have to set the template to use per page/restaurant) which contains a different menu call (may have to be hard-coded)
2- Using WordPress custom post types (also requires coding); you'd set parameters required here (menu, links, etc.)
3- Still on the template side; all restaurants would probably use a specific category so you'd display a particular template with its own set of menu rules for that cat.

There are others...
 
Hi there

thank you so much for your reply.
Unfortunately I am not at all familiar with the coding. I just read here and there how to remove certain text etc from the php pages.
Is there perhaps any possibility that a plugin exists for what I am trying to achieve?

thank you again
 
You could create a custom post type with fields for "About Us", "Menu", etc, then in the template page hide/display the fields' content using javascript tabs. So all the content would be in one "post", but would would look like it's split up. Not sure how you'd be able to get an image gallery into that, though.
 
You could create a custom post type with fields for "About Us", "Menu", etc, then in the template page hide/display the fields' content using javascript tabs. So all the content would be in one "post", but would would look like it's split up. Not sure how you'd be able to get an image gallery into that, though.

that.
you'd attach images to the post and pull in attachments with the post id, using the loop, css and js to do the gallery using a custom template.
wordpress has great native image resizing and caching methods.
the tricky bit there would be with ajax pagination.
sorry melissa, you're going to have to learn to code at some stage, or pay somebody to do it.
 
This is possible. Look for a better template, not all templates do the same thing.
 
you could also try the do_shortcode() method within the template using [gallery id=postid].

I haven't used WP's build-in galleries yet, but if you can use that shortcode (through do_shortcode()) by getting the post ID in the loop, then that will make things even simpler.
 
hi there everyone

thank you all for your help
i have installed the posttab plugin, and use the short code to insert tabs into posts.
you can customize your posts and everything. it works fantastic. thank you
gallery can also be inserted (using shortcode) into various tabs.

i am however struggling to use a static page for my homepage. when i create a home page, and set it as home page, my Theme / template adds a second home page button in my navigation bar which i cannot remove. is there any way to remove the extra home page button?

thank you so much
 
You'll probably have to edit the header.php file in your theme folder and remove the code that is displaying the home link.
 
perfect. that worked, thank you
Just one more thing - please.
if you choose for the home page to display your latest posts. Is there any way to make the "post previews" smaller?

thank you
 
If you mean "excerpts" then you can manually place content in the excerpt or change the default number of words from the content the excerpt will display.

To do the latter, place the following in your theme's function.php file (I've no idea what is in your functions file so this may interfere with an existing function):

Code:
function new_excerpt_length($length) {
return 10;
}
add_filter('excerpt_length', 'new_excerpt_length');

Change "10" to whatever you want it to be (the default is 55).
 
thank you very much. I will give it a try

Another thing I am trying to do is remove the "sub categories" from the navigation bar.
my theme does not allow custom menus (theme: traction) - and i only have the option to either display categories or nnot display them.
I would like to remove the sub categories from showing in the nav bar. Is this possible?
I dont want to completely remove the sub categories due to search and SEO efficiency

thank you
 
Top
Sign up to the MyBroadband newsletter
X