Maracas1970
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding posts to templateThere is a loop on the index page, i can assure you of that.
You see my homepage is different from my internal pages as it`s a template i coded myself, this may be where the misunderstanding is occurring. So if i delete the blog.php it will not be there in my navigation.
So if i select the page after deleting blog.php will it still turn up in the nav, or will i have to change the link structure again to reflect the changes?
Forum: Fixing WordPress
In reply to: Adding posts to templateOK thanks i appreciate the help really i do.
Investigations are usually spurred along by clues, and as you no doubt are realizing i dont have one!
As you can see by looking at the two pages, my homepage references “home” now and the blog page references “blog” The pages “loop” back on themselves..
“I think” I need to change some parameter within the loop on the index.php for it to pull the posts to the blog page, just not sure which parameter.
regards
Maracas
Forum: Fixing WordPress
In reply to: Adding posts to templateYes it is, i changed back to default the blog page i created (articles) in the create new page, now all posts have dissapeared.
Forum: Fixing WordPress
In reply to: Adding posts to templateI`ve done that though in the settings/reading section.
I added two new pages one for blog one for home in admin/pages/add new. I called one home, and selected home from the drop down list.
Then i selected the page for my posts to go on, which i entitled Articles (i selected my blog.php template on the drop down page attribute when creating this page). There is a copy of the loop on my template file for the blog.php and my index.php (homepage).
Now artifacts from the loop are on my homepage and my blog posts appear on another version of my homepage..
Forum: Fixing WordPress
In reply to: Adding posts to templateOK
So i have got a post to show up and it takes me to a version of my homepage, with the banner etc, but i want it to not include that.I intend the blog page to be like the internal pages, without the large homepage banner.
Also i added the <?php if (is_home()) { ?> <?php } ?>
on the homepage to try and remove the traces of the loop, but it made the post disappear from the blogpage.Forum: Fixing WordPress
In reply to: Adding posts to templateSo the loop needs to be there as opposed to the blog page itself?Sorry my head is going sideways with this, i`m on day three of trying to figure it out..
And if it is the case, i dont want posts on my homepage, because as you`ll see it is a welcome/splash page with no content, if i do put the loop here wont it show up as a link to a non existent post on my frontpage?Thanks
Forum: Fixing WordPress
In reply to: Contact Form in Custom templateTouche SwansonPhotos and thanks.
Found this at probably the exact same moment you posted it. Cheers dude ??
Forum: Fixing WordPress
In reply to: Contact Form in Custom templateGot it to show up using
<?php echo do_shortcode( ‘[contact-form-7 id=”58″ title=”Contact form 1″]’ ); ?>
Seems to work OK now. What i`d like to know though if anyone cares to help is, am i going to have to use these do_shortcode() functionsfor all the plugins? Do some accept the functions and others not?
Thanks..
Forum: Fixing WordPress
In reply to: Contact Form in Custom templateWell, i need to be able to not have to do that each time i install a newer version or a plugin for something else such as a gallery.
Is there no way of just activating the plugin and having it go right into my template page?
The thing is, all the plugins i see ask you to add the code into the pages section. The pages i created are selected through the page attributes/templates drop down.
The page fields are blank they are just there so i can select the page templates and link into the navigation..
Forum: Fixing WordPress
In reply to: Linking pages I have createdDo i need to use Function Reference/wp nav menu to do this?
I do not have any menu options in admin panel because its a custom theme and the navigation is built into the pages already.Any help would be great, however small at this point ….
Forum: Fixing WordPress
In reply to: Linking pages I have createdWhat is also weird is that when i create a page and add the code from my static page into the HTML editor and publish it, the resulting page is identical to my homepage, even though the code i entered is for another page, with a call for different header and footer and cotent in the content areas?
Forum: Fixing WordPress
In reply to: Linking pages I have createdHere is my navigation code..
Forum: Fixing WordPress
In reply to: Can not remove header and footer from homepageI sent, thankyou..
Forum: Fixing WordPress
In reply to: Can not remove header and footer from homepageSure..
Forum: Fixing WordPress
In reply to: Can not remove header and footer from homepageThe problem really does seem to be that it cannot reference the header-home.php file. For some god forsaken reason it just aint doing it..