[mfile upload-file-549 limit:2000 filetypes:jpg|jpeg|png|gif|pdf|doc|docx|ppt|pptx|pps|ppsx|odt|xls|xlsx|csv min-file:1 max-file:5]
However, even if I try and upload a very small file it says it is too large. Am I missing something?
Also, if you don’t mind me asking a second question, is there a way of having different page content and styling on the login page than on the pages once you have actually logged into the account?
]]>Php file:
<?php
/**
Template Name: Front Page
*/
get_header(); ?>
<div id=“content” class=“content-area”>
<main id=“front-page” class=“home” role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Style.css:
.home {
padding-top: 100px;
}
Thank you very much in advance for your suggestions!
]]>I’m trying to add multiple calculators to the same page and have them separated as a new paragraph. Each of the calculators will have some text content beneath them.
Problem.. when I add another calculator code to the page (after the text), it puts both calculators together (1 on top of the other) and the text content beneath them. How do I separate this in the page so that it looks like this?
Calculator
text content
new calculator
text content
Thanks!
]]>I need to apply a different style to specific pages (not posts) and their child subpages. I’ve tried using built-in body classes, such as page-child parent-pageid-(id) in CSS and just can’t get it to work and I’ve tried darn near every method listed on Perishablepress’s (https://perishablepress.com/press/2009/05/26/dynamic-body-class-id-php-wordpress/ ) site.
What I’d like is to style a parent (and children) with a body class of .church, another parent and their children with .school, and another parent/children with .daycare. All of the forums and blogs out there say it is sooo simple with dynamic body classes (which I believe), but I just can’t seem to get it figured out. Any input, thoughts, suggestions are much appreciated. Thanks in advance.
]]>I was wondering if anyone had any ideas for how to use wp_list_pages but to have a conditional so that the page the user is on displays additional styling. The fix I’m using is just to manually list the pages with a conditional statement to add the styling. The problem with this is that I have to add to the code everytime we add a new page…
Thanks!
]]>