We designed this theme with law firms and attorneys in mind, but it would be great for anyone who wants a simple, elegant and responsive theme for a business site or even a personal blog if you like this style. Check out the demo video…
The theme features a couple of alternative home page layouts, one for static content and another with a slider for the latest posts. The blog also makes use of featured images and we’ve applied styles to all the usual on page elements including image galleries and video embeds.
If you are setting up a new site you will be needing hosting. Check out our WordPress hosting comparisons.
Via the customization menu you can easily upload you own logo, set the theme colors, slider behaviour and select which social media channels you link to.
Home Page Slider Setup
Since releasing this theme we have had some requests for a tutorial on how to set up the home page as on this demo site. Here is a simple step by step which I hope will help those unfamiliar with WordPress through the process…
By default the theme installs with a traditional blog style layout on the home page, but it is quite easy to change this. Here’s how to apply the alternative home page templates:
- Login to WP and create a new static page (call it “Home” or something similar), and in the right hand column of the page edit interface you will see an option to select from a drop down list of templates. Select the template you want to apply to the page. These templates are only available to be applied to static pages (not posts). You can choose from the static page template with sliding images and widgets, the latest posts slider with widgets, or the latest posts and plain content template. If you choose the options with the widgets (as in the demo home page) then you can edit the content of the widgets under Appearance > Widgets.
- Create another static page called Blog. You don’t need to select any templates or add any content to this, it is just a page that will be assigned as the new blog page.
- Once these two pages are created, go to Settings > Reading where you can choose to set a static page as the home page, and another static page to be your blog page. Make these changes and save the updated settings. Now your “Home” page will appear as the sites home and the “Blog” page will be where any posts you write appear. You don’t have to have a blog, but this is where the posts go if you do write them.
A couple of additional notes about images…
- If you choose the home page template which uses static page content then you must embed a regular WordPress gallery of images in the homepage content and the template will use these in the slider. How good your images look will depend alot on the quality of the images you upload. Crop your images to 1000 x 640 and they’ll work well.
- If you choose either of the home page templates which slide the latest posts then the images will be the images you set as “featured” for each of those posts. The featured image for each post is also what is used on the blog page itself.
This demo site was set up with a completely standard install of WordPress and it is entirely possible to replicate the layout of all pages with the stock theme install.
Hope this helps ?
If you are a new webmaster you might like to check out our new tutorial, How to Create a Website, and our hosting reviews for popular hosts like Siteground and Bluehost.
162 thoughts on “Attorney Theme”
about the picture in static slide: is it possible that I can insert it smaller (not full width)? At present it is shows to big. Thanks, marko
Hi Marko, there is no setting to display the slider smaller. The trick is to crop your images to suit the space.
First of all i LOVE your theme!
I have a question how to change “Menu” to different name when the theme is in responsive design when browsing on my mobile phone for example.
”
Menu”
I would like to change Menu to something else.
Inside the attorney theme folder, go to library -> js then open scripts.js file and on line #23, change Menu to something else.
Kris, thank you.. thank you.. thank you! I would never figure it out myself! Big thanks!
Downloaded attorney wordpress theme 4-5x and Zip file doesn’t have tany of the stuff that this site, http://wpattorney.org/ reflects.
I downloaded the theme from wordpress:
https://wordpress.org/themes/attorney
Did I do something wrong?
Create a Page then assign a Template on it then go to Settings -> Reading and set that page as a front page.
Note:
For more info about selecting a page template, you can check this link, http://codex.wordpress.org/Page_Templates#Selecting_a_Page_Template
For more info about setting a page as front page, you can check this link, http://codex.wordpress.org/Creating_a_Static_Front_Page#WordPress_Static_Front_Page_Process
How do I change the wp attorney theme to be full screen and use the sliders like the demo shows? Thanks for are help
https://wpdevshed.com/attorney-theme/
Hi Ken, the theme isn’t designed to go full width so you’d need to do a fair bit of customization to make that happen. Here’s some instructions on using the sliders as in the demo: http://wpattorney.org/how-to-set-up-the-home-page-slider/
Is there an easy way to change the background colour of the main menu?
Download Simple Custom CSS wordpress plugin and activate it then go to Appearance -> Custom CSS and add this code,
nav[role="navigation"] div.menu{background: /*insert color here*/ ;}
I’d like to add a large phone number below the social media icons that stays below the icons when the page width changes. Is that possible?
Yes, it is possible but only by customizing the header template. You can place your phone number below line #81 in header.php file.
I did that, but the alignment was goofy. Any way to match the alignment of the icons? (I.e., when they’re aligned right on a full-width page or centered on a narrower page?)
Did you try to place the phone number inside p tag? For example,
<p>000-0000-000</p>
.Thanks! Easy fix!
Thank you all, I got a big part of it done. Now, how do i do the bottom three boxes. I would like to do one box 1) recent posts 2) General Contact info box with some text 3) Find us box like you have it in your sample.
Hi Tony, if you go to Appearance > Widgets you will find a widget area for the Alt_homepage template. Drop your three widgets in there and you are away.
I installed your theme and the main page is the blog and i can’t make it look like you have it set on the screen here. I am not too technical but just a general knowledge of wordpress. What am i doing wrong? How much would you charge to set it up to look like the main screen as you have it here? Thanks!
If you want to display just the excerpt in your blog page, then just add “more link” in each post. You can follow this tutorial on how to add this, Add read more. Then to set up home page, just create a page home and set a template on it and then make it as static page.
Hi Tony, I think this how-to post might help…explains how to set up the home page as it is on the demo: http://wpattorney.org/how-to-set-up-the-home-page-slider/
I think that must be it, but have no idea how…;)
If I look at the text, it looks like its wrapped in nothing
Hmm, maybe an unclosed underline tag in the previous widget?
That did it Charles!! Thanks so much.
You’re the best.
Hello there !
I need some help with a widget that is alligned wrong on the home page where the archive, recent posts supposed to be.
http://imgur.com/FJGJM2n
The facebook widget needs to be a little bit lower so that it aligns with the others. Hod do I do that ?
Thanks !
Hi Gabriel, in that screenshot it looks like you’ve added the Facebook code to the template itself rather than a widget? I would recommend adding the facebook code inside a plain text widget. You’ll need to adjust the width of the Facebook widget itself to fit the layout (no more than 220px wide).
On the website listed above, the hull mission page, the third footer widget is underlined, both title and content. I have no idea how that happened. Do you?
Hi Janet, check out the content of that widget…sure you havn’t wrapped the widget title in underline tags?
Charles, thanks so much!
is there a way to have a different set of widgets (footer sidebar) displayed on a page that is not the home page?
Hi Janet, you can use the Widget Logic plugin to control what plugins appear on where.
Thanks Charles. For some reason, I don’t seem to be configuring or understanding correctly. What I need is for the homepage with slider to be used on another page but with different widgets than the home page.
Right. You can apply the home page template to another (inner) static page, and then use the Widget Login plugin to control which widgets appear on which pages, because there is only one widget area on that home page template (called “Sidebar for Alt_Homepage”), you need to use the Widget Logic plugin to limit some widgets to the actual home page and others to your other inner page that uses the same template. For instructions on how to use Widget Logic you will need to refer to their supporting docs.
I got one more question about the spaces above and under the title on the list of the posts on the blogpage, as shown here on the print screen:
http://i.imgur.com/ZiZeFrV.png
Thanks in advance!
Hi Rafal, I’m going to let Kris have a look at your other questions, but on this count I am not sure why this is happening as I can’t replicate this. Check out our demo site: http://wpattorney.org/blog/ – Have you customized the theme in any way? You may have inadvertantly broken some CSS.
Yes, seems like I have make a little mess in CSS. I have just fixed it now!;)
Hello,
I’m building a blog using Attorney theme, which is simple and great – thank you for that. I got few questions about customization:
1. How can I delete author (I want to leave the date) and where can I change “Continue reading” into some other (website is Polish)?
screen of what am I asking about:
http://i.imgur.com/SLlQxG1.png
2. Inside each post… how can I delete author again and “BOOKMARK THE permalink.” (i want to delete it too)?
I would really appreciate your help. Thans in advance!
Download Simple Custom CSS wordpress plugin and activate it then go to Appearance -> Custom CSS and add this code,
.entry-meta .att-meta:nth-child(2){display:none;}
.Then for “Continue Reading”, add this code in function.php before the PHP closing tag,
add_filter( 'the_content_more_link', 'modify_read_more_link' );
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>';
}
Why does the template look like crap on mobile?
Hi Walt, can you be a bit more specific? “Crap” doesn’t really help. Thanks.
Hi,
I am having trouble with the photos in the home page slider; they are getting cut off a little bit off the top. What should the proper size be so that this doesn’t happen? Or is there another solution? Thank you.
Hi Jason, try cropping your images to 1000 x 640. That dimension will work nicely in the slider.
hi, i want to change the color of the body of the website from the default bright white to a faded shade of blue, where can i change that?, please help.
You can download Simple Custom CSS and activate it, then on your wordpress admin, go to Appearance -> Custom CSS and add your css code. You can use css gradient to have a faded effect. To change the background color of the body, just add
body{/*insert your css gradient here*/}
. You can use gradient generator, just follow this link for that,Gradient CSS Generator.hallo, i love the theme, but how do i remove the white section with the writings on the homepage slider?, am using the alt homepage static slider.
Download Simple Custom CSS wordpress plugin then activate it. Then go to Appearance -> Custom CSS and add this CSS code,
.slide-content{display:none;}
It worked, thank you so much.
Phone numbers throughout our website appear in blue making it obvious someone can click to dial if they are using their smart phone. However, phone numbers we have inserted into a widget do not make it obvious you can click to dial. Is there a way to change the way a phone number is displayed in a widget?
How did you add the phone number on the widget area? Usually it goes like this,
HI Shawna, if you can share a link to your site we can check it out and see how the phone numbers appear across the site.
Hi, how do I make the header image logo be centered instead of aligned left?
Thank you!
Create a child theme or Download this plugin Simple Custom CSS then add this css code,
#site-heading{float:none;width:300px;margin:0 auto;text-align:center;}
If you want to make the social icons be centered also, add this code,
#social-media{float:none;width:100%;text-align:center;}
How do I prevent the author name from appearing in posts? I would like the date to appear, but not the author’s name.
Hello Scottie,
If you want to remove the author’s name from appearing in posts, you can add this custom css,
.byline{display:none;}
You can download the simple custom css, this is a wordpress plugin and place the code in there.
Having problems with hatom-feed errors in my rich snippets using this theme. I see the author, entry-title and updated date classes that should be used but I am still having errors on most of my pages. This is what the error looks like:
hatom-feed
hatom-entry:
bookmark:
name: Permalink to XXXXX
rel: bookmark
url: XXXXX
Error: Missing required field “entry-title”.
Error: Missing required field “updated”.
Error: Missing required hCard “author”.
Is this specific to the bookmarks on the page? Does anyone know how to fix this?
Hi Dan, the theme doesn’t have hCard support. Agree it would be nice, but it doesn’t currently. I think you can find plugins to add support.
I’m having the same issue with the Google Webmaster tools. I installed an hcard plugin but can’t seem to get rid of the error. Any advice?
Hi Bryan, the theme itself doesn’t support microformats and I’m not familiar with any of the plugins which add such support. Have you tried reaching out to the plugin developer? If you need help with some theme customization you could try Codeable.
Hi Charles,
Is there a way to remove the Page Title for all pages and remove the Page title white space?
Thanks,
Bob
Hello bob,
You can remove the page title for all pages by doing this custom css…
/* This will remove the page title */
.entry-title{display:none;}
/* This will remove the white space */
.article[id*="post-"]{padding-top:0;}
.post_content{margin-top:0;}
Cheers
Hi Charles,
One quick followup on Samantha’s question.
Is there a way to restrict the slider posts by category?
That way I can set a special category for the posts I want in the slider on the home page and use the ‘blog’ page for all the posts.
Maury
Hi @maurice,
Thanks for using our theme
Yeah there’s a way for that so since you’re using page template for your homepage open alt_homepage_no_widget.php file and at line start from #14-17(these lines contains our Query arguments) so what we need to do is add category parameter e.g. ( ‘cat’ => 10 // where 10 is the category ID ), you can found more at http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters
Hope that helps
Charles,
Thanks for the information. I finally got the slider to work after reviewing the demo video. I don’t know how I missed the “template” option in the page view! Duh!
Anyway, my issue is now completely resolved, and I am loving the new theme and slider! Thanks again for the info. and for your help!
For some reason, I am not able to “see” the slider on my website at all (I am now using another theme because I got too frustrated with this one). There is absolutely no slider present at the top of the home page (or any widgets below – like the ones shown on your picture above, and I cannot seem to “turn it on” no matter which widgets I use, or pictures I upload, etc. I have changed the settings to “latest post” and still do not see a slider. Can you please help me with this issue? I have worked with lots of themes in the past and have never had this issue. I really like this theme, but I can’t use it without the slider option. Thanks!
Hi Samantha, here’s a blog post describing how to enable the slider option: http://wpattorney.org/how-to-set-up-the-home-page-slider/
hello, thanks for the theme. I’m having an issue trying to upload a logo to this theme. I’m under the customization section>Site logo>Upload new> choose file> and there is no upload action. Can you help me out please?
Thanks!
Hi Michael, I don’t know why there would be no upload. If you don’t see the following option then there may be something awry with you installation of WordPress…
I added a disclaimer page, and I do not want Comments on this page. How do I hide the Leave a Reply block on this page?
Hi Hanley,
You can of course enable/disable comments at the site level under Settings > Discussion.
WordPress also let’s you turn comments on/off for any given page or post. You may need to adjust your Screen Options to see this setting on the page/post edit screen. Screen Options can be viewed top right hand corner of the admin.
Hope that helps.
My hosting Support says that there is a Cron Job built into WordPress: the “wp-cron.php” task runs when somebody visits your site after 5-20 clicks on site links.
When that runs, sometimes it introduces an error into the function.php.
And of course, I don’t want to totally reinstall because I’ve customized! I will lose all of that.
Can I disable the cron?
Darcy
Hi Darcy, that sounds very unusual, and it is getting well beyond the level of free support I can provide here. My only suggestions are:
The problem you are reporting is almost certainly not related to the theme. It is much more likely a result of some local customization gone wrong or a wayward plugin. Sprry I can’t be more helpful.
Comments are closed.