OssieW
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Spun] One category on homepage – cracked it!!Update – I’ve changed the theme on my site to make it more shop-friendly, so the link above won’t show my modifications in action any more. Sorry!
Forum: Themes and Templates
In reply to: [Spun] Howto make circle icons categories instead of posts?This should help. A few of the modifications i’ve been through on my own site: https://www.ads-software.com/support/topic/one-category-on-homepage-cracked-it
Forum: Themes and Templates
In reply to: [Moesia] Swtiching image and text in Blockquotebrilliant, that’s done the trick!
Thanks ??Forum: Themes and Templates
In reply to: [Moesia] Swtiching image and text in BlockquoteNope, that put the quotation mark at the end, and the image is still on the left. I’ll have to keep tinkering ??
Forum: Themes and Templates
In reply to: [Spun] One category on homepage – cracked it!!No worries, I was banging my head against the desk for days figuring all this out, I thought it’d be mean not to share it ??
Forum: Themes and Templates
In reply to: [Spun] One category on homepage – cracked it!!Glad I’ve helped a bit!
I’ve changed my site around so the circles on my homepage link straight to the category pages, rather than showing posts from all but one category on my homepage (as it was before).So, to get circles on your home page linking to a category page (with more circles) you’ll need to do this (this assumes you already have ‘Reveal IDs’ installed):
1. Install and activate a plugin called ‘Page Links To’.
2. Create pages with the same names as the categories you want to display, and set a featured image for each page. When you edit the pages you’ll see the ‘Page Links To’ options at the bottom. Select ‘a custom URL’, and copy & paste in the URL of the category page (it will be something like ‘https://www.mysite.com/category/whateveritis’ ). Save the page.
4. Go to the ‘Pages’ page, and get the IDs of the pages you’ve just created.
5. Edit your index.php (in a child theme – but don’t ask me about child themes, I’m irresponsible and just edited my normal index.php) with the following code:
before
<?php /* Start the Loop */ ?>
change
<?php query_posts('cat=X'); ?>
for
<?php query_posts ( array( 'post_type' => 'page', 'post__in' => array( XXX, XXX, XXX ) ) ); ?>
With ‘XXX’ being the page IDs. You can add as many IDs as you need to, as long as you put a comma between them. If you want some circles to link to actual pages on your site just put their IDs in as well.
You can use this method to make circles link to outside sites.
I’ve also figured out some custom CSS for making the homepage circles bigger (when my site is finished I’ll have four circles on my homepage, and the normal size is too small) but that’ll have to be another topic or admin will be in here!
Hope this helps! ??
Forum: Themes and Templates
In reply to: [Spun] Side bar on the right but not on main page…i added
.single
in front of the code you’ve used in my custom css editor and it did the trick ??Go to Settings > Reading, then change ‘Blog pages show at most’ to 15 posts. that’ll give you three rows ??