0
votes
1answer
237 views

How to get category slug link? ( include parent categories)

for example, if main category slug is cars; sub-category slug is: Ford; how to get the permalink of Ford, including its parent categories' slug? ( get_category_link() returns mysite.com/?cat=19 type ...
0
votes
1answer
39 views

javascripts files not linking to my category slugs?

I have a wordpress custom theme set-up and what i want is to create separate category templates, now seeing the template hierarchy i created the category-{slug} file and now when i am linking my ...
1
vote
0answers
98 views

Older entries link within category page

I am building a custom wp theme and I have a category called 'blog'. On here I have all of my posts displaying from the category 'blog' and a link at the bottom that says older entries. When i click ...
1
vote
1answer
48 views

Combining post categories and link categories?

So as to get a single index of both internal posts and external links on the same or related topic/subject matter, is it possible to combine post categories and link categories? I would like to be ...
1
vote
1answer
262 views

Style category link depending on category ID

I want to style a link depending on its ID, for instance, if the category ID is 2, then I want the link to be pink. My theme calls the category like this: <?php if (in_array('categories', ...
1
vote
1answer
202 views

Any way to assign Post Categories and Tags to Links?

I would like to assign post categories and post tags to the links in my 'Links' section, and (ideally) remove the link categories feature since it would be redundant. Anyone know how to do this?
0
votes
1answer
89 views

wp_insert_link not working

Im using this code to insert links into my blog: $linkdata = array( 'link_name' => $title, 'link_url' => $url, 'link_catetory' => 3, // my cat ...
1
vote
1answer
1k views

get_category_link() is returning nothing

<?php $categories=get_categories('taxonomy=galeriak'); foreach ($categories as $category) { ?> <li><a href="<?php echo get_category_link( $category->term_id ) ?>" ...
1
vote
1answer
76 views

Displaying a full post instead of a slug per category?

I have a single category on my blog that I want to display full posts in when looking at the category instead of just slugs. The category is for Podcasts, and presently it displays slugs which: ...
0
votes
2answers
296 views

Get paged category link programmatically

I want to get the link to a category (specified by id) but with a paged value (e.g. page 3 of category id 4). I was looking into get_category_link()Codex, but it only returns the link to the first ...
0
votes
1answer
388 views

wp_list_categories link to first post of category instead of calling taxonomy template

I'm using wp_list_categories to give me a list of links to categories (no surprise there) Is it possible to get Wordpress to link to the first post of a given category instead of calling the taxonomy ...
0
votes
2answers
411 views

Featured image for links and categories

Is there a ready plugin or solution for implementing Featured Image function to Categories and Links? At Pages and Posts I use the feature image as a background image, using the full size original ...
0
votes
1answer
414 views

Categories as selectable links on submission form

I have a submission form where users can submit posts on my site. I have three steps (3 form pages) and in the first one user selects the post category, clicks the submit button and moves on to the ...
1
vote
1answer
2k views

Link Attachment Image to Category

How do you link an attachment image to its category? function wp_attachment_image($size = thumb) { if($images = get_children(array( 'post_parent' => get_the_ID(), ...
1
vote
4answers
5k views

Category links suddenly started giving 404 errors

My Wordpress blog suddenly seems to have started giving me 404 errors when accessing category pages. For example, http://blog.rtwilson.com/category/tok-related/. Interestingly, this doesn't happen for ...
1
vote
2answers
791 views

How to enable category hierarchy for links?

It looks that by default WordPress had hierarchy only for page/post categories and not for links categories. How can I enable that?