Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Remove Blog Title and Listing Specific Posts on a Page


  #1  
Old Mar 1, 2013, 08:47 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Hi there

I copied index.php and created a templete called Europe_2013.php. Then I created a page which I plan on using as my blog while overseas but I'm having problems tweeking the layout.

I'd like to delete the following from this page ONLY

Blog Title (Untie the Knots......)
RSS Feed
Search box

Move the header image up as far as possible, which will hopefully move the map up the page too.

Any suggestions as to what changes I need to make to Europe_2013.php at achieve this?

I've also tried to use the List category posts plugin to insert a shortcode on the europe-2013 page, so that all posts in the Travel category (ID 187) appear on this page, with the most recent on top, but I'm just not getting the code right. Can anyone tell me what I'm doing wrong - or can I add code to Europe_2013.php template to achieve this without a plugin?

Thanks in advance
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #2  
Old Mar 1, 2013, 09:27 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I would use CSS and "List Category Posts" to style my blog page as opposed to creating a page template which would get overwritten in a theme update.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Mar 1, 2013, 04:42 PM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Thanks Larry. Can you suggest websites or (old fashioned) books where I can lean about this. Everything I done so far has been thru Google search chest and this forum.
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #4  
Old Mar 1, 2013, 08:31 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
This stuff changes too fast for most books to be of any value and when you start mixing different CSS and plugins there is only experience with CSS and being able to wrap your head around what the plugin can do. I have bought books on CSS and never used them.

My advice is to get real familiar with Firebug. I "play" with a lot of CSS virtually with that tool and then just copy the code that works and paste it in the appropriate spot. w3schools.com is a great place to learn CSS by playing with it.

Another thing I highly recommend is having a sandbox site that you can experiment on with various plugins, CSS, and such without worrying about breaking something.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Mar 2, 2013, 02:56 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Thanks for your suggestions lmilesw - I'll check them out. In the mean time if anyone (Juggledad?) would like to give a specific reply, I'd be grateful!

Thanks heaps
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #6  
Old Mar 2, 2013, 08:34 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Your site is currently not accessible.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Mar 2, 2013, 08:46 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Yes - I found a post that suggested inserting this code in to function.php would get rid of the blog title.

<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_front_page() ) { ?>
<h2 class="entry-title"><?php the_title(); ?></h2>
<?php } else { ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php } ?>

and I guess in a way, it did - it got rid of the entire website! Unfortunately, I can't log back in to delete the code.

Hoping my host will rescue me with a backup soon.

Gives evidence to your suggestion of having a sandbox....

Cheers
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #8  
Old Mar 2, 2013, 08:56 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
just dowload a new copy of the theme, unzip it and upload a fressh copy of function.php
or use ftp to go to the theme folder, go to astahualpa and rename 'style.css' to xstyle.css' and the site should revert ot twenty eleven or twelve.

Then you can rename style.css back and use the dashboard->appearance->editor to select atahualpa and edit the function.php file.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Mar 2, 2013, 06:54 PM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Hi Juggledad

Thanks for your suggestions but I'm using Atahualpa V3.4.9 - the version available here is 3.7.11. Will a fresh copy of function.php from the newer version still work with my old version or will I stuff things up even more?

Maybe the best option is to wait for my host to reinstall a back up from say, 28 Feb before I started messing things up?

Please pardon my ignorance but once my current issue is fixed and I can log back in, do I have to wait for my host to update either Wordpress or Atahualpa for me or can I do it myself via ftp (cyberduck) after using phpMyAdmin to back up my database (as well as copying all files to my hard drive and a cloud service - just to be sure!)?
Cheers
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #10  
Old Mar 2, 2013, 08:07 PM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Wooo hoo - I was able to fix the function.php all by myself so my site is back up :-)
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #11  
Old Mar 2, 2013, 08:09 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you can get 3.4.9 from here: http://wordpress.bytesforall.com/201...-349-released/

you should be able to update from within WordPress.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Mar 3, 2013, 03:08 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
I've created a page that will list all the posts that have the category of Travel.

I'd like to delete the following from this page:
Blog Title (Untie the Knots......)
RSS Feed
Search box
Posted in Travel | Comments Off
Move the header image up as far as possible, which will hopefully move the map up the page too

Still working on getting either Flickr API plugin or Flickr Set Slideshows plugin to display photo sets from Flickr, but thats another story!

When a visitor clicks on the Read More Link, the post itself is displayed (obviously!). How do I delete:
Blog Title (Untie the Knots......)
RSS Feed
Search box
Category and Comments are closed (at the bottom of the page)
Add the next post link from the Travel category only to the bottom of the post? What happens when there are no more posts to display (ie I've returned from my holiday).

Thanks for your help
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #13  
Old Mar 9, 2013, 04:37 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it looks like you are using a template and the template is not completely buildig the html page. That needs to be fixed before you can proceed.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Mar 9, 2013, 05:36 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Yes - I am using a template. How do I fix the template so that it completely builds the html page? Instructions suitable for a 4 year old (or links to something appropriate on the 'net) would be greatly appreciated.

Cheers
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #15  
Old Mar 9, 2013, 06:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
use the themes index.php as a starting point.

sorry but 'Instructions suitable for a 4 year old' would take me hours to write up.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #16  
Old Mar 9, 2013, 08:18 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Why are you using a page template instead of CSS to hide what you want. Any page templates you create will be wiped out with a theme upgrade. You could use something like the following in CSS Inserts to get rid of the items mentioned on your test page.
HTML Code:
.page-id-1565 #logoarea {
    display: none;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #17  
Old Mar 9, 2013, 05:41 PM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Hi ~Larry

Why are you using a page template instead of CSS to hide what you want. Any page templates you create will be wiped out with a theme upgrade
Because I didn't know any better - thanks for the tip

I went to ATO > Various Content Items > HTML/CSS Inserts >CSS Inserts and pasted your code in before clicking on save.

Nothing changed

Cheers
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #18  
Old Mar 9, 2013, 06:17 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
.page-id-1565 would need to be changed to the class for the page you are targeting.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #19  
Old Mar 10, 2013, 05:49 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Sorry to be a pain ~Larry but how do I find the class for the page I am targeting?

When I go to
All Pages
Click Edit Europe 2013
the Page Id shown in the address bar is 1565.

When I go to
All Posts
Click Edit on Test Post for Europe Blog
the post in the address bar is 1609

Obviously, this is not the same as the class?

Cheers
Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #20  
Old Mar 10, 2013, 05:53 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
go to the page, use the browsers 'View Source' option, find the <body...> statement, look at the classes in that statement.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #21  
Old Mar 10, 2013, 08:01 AM
Cathy131
 
30 posts · Nov 2009
Melbourne, Australia
Thanks Juggledad
Closest thing I could find was

<body class="page page-id-1565 page-template-default">

Tried both

.page page-id-1565 #logoarea {
display: none;
}

and

.page page-id-1565 page-template-default #logoarea {
display: none;
}


Cathy
__________________
WordPress 3.5.1 Atahualpa 3.7.11
http://www.untietheknots.com.au/
  #22  
Old Mar 10, 2013, 12:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You might want to take a CSS Intermediate Tutorial so you under stand what classes and ID's are and how to address them.

Go thru the tutorial and then see if you can explain what your CSS selector is doing.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 10, 2013 at 05:13 PM.
  #23  
Old Mar 10, 2013, 01:51 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
@Cathy131

When you see
HTML Code:
<body class="page page-id-1565 page-template-default">
All the items there are classes separated by a space. To target them you have to put a dot before them such as
HTML Code:
.page
or
HTML Code:
.page-id-1565
or
HTML Code:
.page-template-default
if you wanted to use them all you would need to say
HTML Code:
.page.page-id-1565.page-template-default
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by juggledad; Mar 10, 2013 at 05:16 PM.

Bookmarks

Tags
post to specific page, remove blog title



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove image from specific posts on home page feed. bangert Montezuma Theme 6 Oct 10, 2012 01:26 AM
How to remove home page from listing in widget Moira Sidebars & Widgets 2 Jul 27, 2011 10:08 AM
Blog Title: Changing Colors of specific words timmoj Header configuration & styling 1 Mar 6, 2011 04:51 PM
Help: how i can remove some widgets(?) from specific posts maurixx Center area post/pages 1 Jan 28, 2010 07:25 PM
Make specific blog posts with smaller sidebars, leaving main posts intact. Chrism Header configuration & styling 3 Oct 15, 2009 06:22 PM


All times are GMT -6. The time now is 05:25 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.