marmarr
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to display full blog postand
<?php /** * Displays the archive section of the theme. * * @package Theme Horse * @subpackage Attitude * @since Attitude 1.0 */ ?> <?php global $more; // Declare global $more (before the loop). $more = 1; // Set (inside the loop) to display all content, including text below more. the_content(); ?> <?php get_header(); ?> <?php /** * attitude_before_main_container hook */ do_action( 'attitude_before_main_container' ); ?> <div id="container"> <?php /** * attitude_main_container hook * * HOOKED_FUNCTION_NAME PRIORITY * * attitude_content 10 */ do_action( 'attitude_main_container' ); ?> </div><!-- #container --> <?php /** * attitude_after_main_container hook */ do_action( 'attitude_after_main_container' ); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: How to display full blog post<?php /** * Displays the archive section of the theme. * * @package Theme Horse * @subpackage Attitude * @since Attitude 1.0 */ ?> <?php the_content(); ?> <?php get_header(); ?> <?php /** * attitude_before_main_container hook */ do_action( 'attitude_before_main_container' ); ?> <div id="container"> <?php /** * attitude_main_container hook * * HOOKED_FUNCTION_NAME PRIORITY * * attitude_content 10 */ do_action( 'attitude_main_container' ); ?> </div><!-- #container --> <?php /** * attitude_after_main_container hook */ do_action( 'attitude_after_main_container' ); ?> <?php get_footer(); ?>
Forum: Hacks
In reply to: How to display full blog post in categoriesI don’t think this is theme specific but I could be wrong.
Full code I tried is
<?php /** * Displays the archive section of the theme. * * @package Theme Horse * @subpackage Attitude * @since Attitude 1.0 */ ?> <?php the_content(); ?> <?php get_header(); ?> <?php /** * attitude_before_main_container hook */ do_action( 'attitude_before_main_container' ); ?> <div id="container"> <?php /** * attitude_main_container hook * * HOOKED_FUNCTION_NAME PRIORITY * * attitude_content 10 */ do_action( 'attitude_main_container' ); ?> </div><!-- #container --> <?php /** * attitude_after_main_container hook */ do_action( 'attitude_after_main_container' ); ?> <?php get_footer(); ?>
and
<?php /** * Displays the archive section of the theme. * * @package Theme Horse * @subpackage Attitude * @since Attitude 1.0 */ ?> <?php global $more; // Declare global $more (before the loop). $more = 1; // Set (inside the loop) to display all content, including text below more. the_content(); ?> <?php get_header(); ?> <?php /** * attitude_before_main_container hook */ do_action( 'attitude_before_main_container' ); ?> <div id="container"> <?php /** * attitude_main_container hook * * HOOKED_FUNCTION_NAME PRIORITY * * attitude_content 10 */ do_action( 'attitude_main_container' ); ?> </div><!-- #container --> <?php /** * attitude_after_main_container hook */ do_action( 'attitude_after_main_container' ); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: How to display full blog postHi Stacy and thanks for the info! I read through it.
There are no category-slug.php, category-ID.php or category.php files in the theme. In the archive.php file there is nothing that talks about the content or categories, so I copied the archive.php file and put in my code and put it in the child theme folder.
The code I tried is
<?php the_content(); ?>
as suggested here https://codex.www.ads-software.com/Category_Templates
and
<?php global $more; // Declare global $more (before the loop). $more = 1; // Set (inside the loop) to display all content, including text below more. the_content(); ?>
as suggested here https://codex.www.ads-software.com/Template_Tags/the_content
It did not work… I put the code in the beginning of the file. I named the file the same “archive.php” and put it in the child theme.
What do you think I am doing wrong?
thanks again for your time
Forum: Themes and Templates
In reply to: How to display full blog postThat doesn’t work for me because the blog posts do not have a parent page. The menu has 5 menu items which are the blog categories. The blogs show up on their assigned category page.
I am starting to think wordpress is too rigid for what I need to do.. can anyone suggest a different theme maybe that will work better?
Forum: Fixing WordPress
In reply to: Content not showing up (new to wordpress)janet4now – that solved it! Thanks so much ??
Forum: Fixing WordPress
In reply to: Content not showing up (new to wordpress)Oh It actually doesn’t work with the blog posting either because the category only show up when I hoover over the menu item i assigned them to and not when I click on the menu item and look at the page. also once I click the category in the drop down menu it takes me to a a category page that says no posts found. so again the post does not display.
any more ideas?
have a look if you want to
https://startaupp.nuForum: Fixing WordPress
In reply to: Content not showing up (new to wordpress)Love this community – so fast replies, thanks!
Tara – I have the template preselected as “default template” which would be the attitude child theme that I created and works great. The page itself is created and i can reach it fine from the url, I did not get a error message when creating it
janet4now – I tried your first suggestion now and it is not optimal as you said because it the post then only shows up in the menu and not on the page. I also just now tried the blog post with a category and placing the category as a sub item in the menu. It looks good, will have to see how it works out if i get more ads. Thanks:)
Forum: Fixing WordPress
In reply to: Blog entries on different pagesOk thanks
Forum: Themes and Templates
In reply to: [Attitude] Remove footer creditThanks a lot Timothy!
I went and created two files and it now works after having edited them for a bit.