Attorney Theme

scr-attorney

Download Theme

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:

  1. 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.
  2. 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.
  3. 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.
Top Article:  The Dylan

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.

Charlie has been building WordPress themes, reviewing web hosts and utilizing social media since their respective inceptions.

162 thoughts on “Attorney Theme

  1. Darcy Pattison says:

    Something is going on with the Attorney theme and the functions.php file. I have the theme installed on two blogs because I like it so much. But the functions.php file is updating by itself on both sites. I have changed my passwords and notified my host. I checked other themes and nothing else is doing this, only Attorney-functions.php. I wouldn’t know it was happening, except that the sites have gone down twice because of this. I manually downloaded the files from your site, unzipped it and re-loaded just that one file. And it’s still happening.

    The host is checking to see if there’s unauthorized access to the account. But this is really weird.

    Darcy

    1. Charles says:

      Hi Darcy, when you say you downloaded it from our site I presume you mean you downloaded it from WordPress here: http://wordpress.org/themes/attorney – Correct?

      I suggest you log in to your site, delete the theme altogether and reinstall it from within the WordPress admin (rather than using FTP). Something is up with your installation and as long as you downloaded the theme form the official WordPress directory it isn’t anything to do with the download.

  2. Darcy Pattison says:

    It happened again!
    Here’s the error message.
    public_html/notes/wp-content/themes/attorney/functions.php on line 703

    From my cPanel it looks like someone replaced that file. How do I prevent that from happening again?

    Darcy

    1. Charles says:

      Hi Darcy, I have no idea how this could happen. You should contact your hosting company about this.

  3. jaime says:

    Hi

    First of all thanks for the theme, we are using it four our ngo (www.edukafrica.org).

    My doubth is about the homepage, as you can see there are four widget at the bottom and the last one is about news. In order to give more visibility to the important news we would like to have another widget just below the main slidder and above the current widgets but this time with the full width size instead of the third part size like the other four… is this possible? Could you help us on this issue?

    Thanks in advance!

    1. Ryan S says:

      Hi @jaime,

      Thanks for using our theme

      This require touching the theme file so I suggest create child-theme first, then next copy sidebar-home.php file into new created theme, second step is to add your stuff or new widget, add it at before line #8 or in the IF condition.

      Hope that helps

  4. Darcy Pattison says:

    Thanks. Replacing the function.php file worked.
    How does it get corrupted? Or what was the conflict with the new version of WordPress? Thanks for the correct answer the first time! Love the theme.

    Darcy

    1. Charles says:

      It’s not a conflict with the theme or anything like that. I suspect that your update simply failed part way through so the functions.php file wasn’t fully updated on your server, so causing the error.

  5. Help! WordPress did an automatic update and now I just get a blank screen. The error message reads: Parse error: syntax error, unexpected end of file in **/public_html/notes/wp-content/themes/attorney/functions.php on line 688

    I can’t even log into the dashboard to disable the theme.
    How do I proceed? How to disable the theme and how do I fix it?

    I CAN log into my CPanel and the File Manager.

    Thanks!
    Darcy

    1. Charles says:

      Hi Darcy,

      Couple of things to try

      1. Contact your host and see if they can roll back you site to a previous version from backup (assuming you don’t have your own backup)
      2. Via FTP or your file manager upload a complete version of the functions.php theme replacing the one which appears to have the problem.

      But before you do anything please first take a complete back up of all files.

      If you don’t already have a local copy of the theme you can download it here: http://wordpress.org/themes/attorney

      Rgds

      Charles

  6. Marco says:

    Thank you very much, problem solved. I am using the static page version, and I have to admin that I have never created a regular image gallery before! 🙂

    If anyone else needs help, take a look here:

    http://codex.wordpress.org/The_WordPress_Gallery

    As Charles said, you just need to put the image in the content.

    Thanks again! Amazing theme 🙂

  7. Marco says:

    Hello! Thank you for the great theme. I just have a question. How can I upload more than one image for the slider in the home page?
    I put a “featured image” for the page and it works. But where should I upload the other images for the slider?
    Thank you in advance for any help!!

    1. Charles says:

      Hi Marco, which version of the home page template are you using? If you use the version which slides the latest posts then of course you simply add new posts and set the featured image for each and that will appear in the slider (you can also use the sticky posts feature of WP to control which posts appear in the slider). If you use the version with static page content and gallery slider then you just need to add a regular WordPress image gallery to the home page content. The template will use the pics in this gallery in the slider.

  8. pete says:

    After working on this theme for a couple of weeks now, I noticed it doesn’t work in IE 10. Any suggestions?

    1. Charles says:

      Hi Pete, can you be more specific? Maybe a link to your site in dev? The theme works pretty well in IE9 and 10 for me.

  9. Ariana says:

    Hello,

    First time building a site and I have found yours and the help you offer very easy to use, so thank you.

    A few questions:

    -on Alt Home – how do I customize the 3 boxes below the image slider? The sample homepage you have says site set up service, contact, etc., but mine has latest posts, category, and archive. I want to customize the headers to what I want, and obviously content too.

    -Do you have other page templates besides these offered here? I want to add a contact form. Is this doable within your template?

    -Can the footer be customized to include address, phone, etc.?

    Thank you again!

    1. Ryan S says:

      Hi @Ariana,

      Thanks for using our theme

      1. It’s a widget you can update and change it in Appearance -> Widgets
      2. No, but you can create your own (http://codex.wordpress.org/Page_Templates)
      3. Yes, you can change text in footer.php file, just make sure you’re using child-theme

      Hope that helps

  10. Roger Herbaugh says:

    I am trying to remove the title of the page from the top of the page. How do i go about that?

    1. Ryan S says:

      Hi @Roger,

      Thanks for using our theme

      The easiest solution is to use CSS

      body.page h1.entry-title{ display: none; }

      Hope that helps

  11. Maurice Green says:

    Crikey, 5:51AM? Hope you’re just getting up, not just finishing up.
    Anyway, slight misunderstanding – I am using the Alt_HomePage, Slider and Content, No Widgets template, not the static one. ALSO, I am using a child theme with only style.css and screenshot.png in the folder.
    Actually questions #1 and #4 are sort of related in that in both cases the teaser is not working. Neither the or the separate Excerpt are recognized. On the post slider I get some set number of words and no ‘Read more…’. On the Archives and Categories pages (selected from the widgets) I get the full text.
    The site is not public yet so I don’t want to list it here. I’ll email you the link. I

    1. Maurice Green says:

      Of course I meant to say “Neither the ‘more’ break code or the separate Excerpt are recognized.

    2. Maurice Green says:

      MY BAD!. It must have been “cockpit error”.
      The “more” link IS working in the Archive and Categories pages. But still not on the post slider text. Is there a way to control what is displayed there?

      1. Charles says:

        Hey Maurice, per my email, no there is no way to control this. The template pulls the first part of the content and that’s it. You could customize the template to use the excerpt, but that is more involved than I can get into here. If you need help with such customizations I suggest Elto.

  12. Maurice Green says:

    Using the Attorney theme for a non-profit group and loving it.
    Using the Alt_home w/slider and content for home page. Couple of questions:
    1. Can I control the content of the teaser info on the slider?
    2. Can I add a ‘Read more’ link to the teaser on the slider image?
    3. Can I add ‘previous/next’ controls to the slides?
    And most important of all –
    4. I want to display just a teaser with a ‘Read more…’ link on pages like ‘Categories’ and ‘Archives’ but neither the ‘More’ break point or the Excerpt seem to work. All I seem to get is the full content. What am I missing?

    Can’t wait to find a good project for the Advocate theme. It’s awesome! Thanks.

    Maury

    1. Charles says:

      Hi Maurice,

      In answer to your questions:

      1. There are two Alt_homepage templates. One slides the latest posts and the other displays static content over the top of sliding images. If you are using the latter then yes you can control the content which is simply the content of the page you created and assign with the Alt-homepage template.
      2. No, not on the static content version of the Alt_homepage. The latest posts do of course link to the post in question, but the static version of the home page doesn’t use the read more function. That said you can add a regular link to the end of your content and link that to any page you want.
      3. You could, but that will require some template customization and associated styling, certainly more than I can get into here. If you need help with this you could try Elto.
      4. Hmm, that is curious. The archive pages and categories etc absolutely support the native WordPress “read more” functionality. See our Demo blog by way of example. You’ve added the ‘more’ code like this yes?

      Hope that helps.

  13. Dan says:

    Hi Charles — I wanted to add a phone number & address in the upper right of the website (I suppose on the background, though the foreground can be OK). Is there a simple way to do that without knowing much code?

    1. Ryan S says:

      Hi @Dan,

      Thanks for using our theme

      You can modify header.php file and add your HTML code before the icons closing tag or in line #84

      Hope that helps

  14. Knight says:

    Hi,

    Really loving working with your theme for a friend’s website, and appreciate you having this article here for help!

    I’m using the static homepage slider, and we’ve decided we just want different images sliding by there without any text on them. I was able to remove the original text we had on the homepage, however I’m still getting the word “HOME” showing up in the lower left corner of the slider. How would I remove that without removing the page title? Thanks for any help!

    1. Ryan S says:

      Hi @knight

      Thanks for using our theme

      The easiest solution is by using CSS, simply add display: none; in style.css at line #2569 or in .slide-content selector

      Hope that helps

  15. Dean and David says:

    Hi. We’re using your Attorney theme with a static homepage that has 3 widgets.

    Each of the widgets contains only text. One widget has a lot of text and the other two widgets only have a few lines of text.

    As a consequence, the height of each of the widget boxes is different. Is there a way to make the widget boxes of equal height?

    Best to you!!

    1. Charles says:

      Dean and David, the hard way to do this is play with the CSS to ensure a minimum height for the widgets, through that gets more complicated if you don’t want that being applied to widgets on all pages (eg. I doubt you want this on the sidebar). A simple ‘hack’ might be to add some line breaks to the short content on those home page text widgets so that the widgets are the same height.

    2. Ryan S says:

      Hi @dean

      Thanks for using our theme


      // try this code
      #sidebar-home .widget{ min-height: 200px; } // you can play the height to suite your need

      Hope that helps

      1. Dean says:

        Hi @RyanS.

        Thanks very much. Unfortunately, no luck.

        I think Charles is right, we’re going to have to play with the CSS for a bit. Only problem is that adding line breaks does not work across browser platforms, e.g., while it might look aligned on IE it doesn’t appear aligned on Safari.

        I’ll let you all know if we encounter an easier solution. Cheers, Dean.

  16. Dave says:

    Hi. I would like to add the title page name to the posts page, i.e. I want to add a title to the post page called “News”. How would I do that? Would I do something in the index.php? Cheers.

    1. Ryan S says:

      Hi Dave,

      Thanks for using our theme

      No, in WordPress you can use single.php for single posts page so if the file is present in the current theme you can use it instead.

      Hope that helps

  17. TomO says:

    I am having a hard time getting the images to display on the home page. I tried to include an image with the size (945×290) as a featured image and nothing seems to work. I watched your video also. Any help would be appreciated.

    1. Charles says:

      TomO, I see you have a static page set as the home page. You just need to assign the Alt_homepage w/static gallery template to this page and then embed a regular WordPress gallery in the page content. The theme will use this gallery to power the slider on the page. You can also chose to use the Alt_homepage w/posts slider template which will instead slide the latest posts.

  18. Angela says:

    I like the look of your theme for my web site. As I add pages though the search bar overlaps and hides the last page tab. How can I remove the search bar? (or hide it?)

    1. Ryan S says:

      Hi Angela,

      Thanks for using our theme

      You can remove or hide the search bar in header.php at line #94, just make sure you’re using child-theme so new theme update won’t overwrite your theme changes.

      Hope that helps

  19. Rebeca Avila says:

    Hello!
    I loved this theme. I would like to limit the number of posts in the slider. Can you help me?
    Thank you!

    1. Ryan S says:

      Hi @rebeca,

      Thanks for using our theme

      You can update the value in alt_homepage_blog_slider.php file and at line #15, just make sure you’re using a child-theme.

      Hope that helps

      1. Kevin says:

        Hello,

        I am also trying to change the post slider slightly by altering – alt_homepage_blog_slider.php

        The effect I am after is to have the homepage slider based off a specific category rather than most recent posts.

        I’m fine with all posts in said category, I would just put the posts I want up on the homepage at any given time into the category and move them out when I needed them to come down.

        Thank you!

        1. Ryan S says:

          Hi @kevin,

          Thanks for using our theme

          You can visit this page http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters for more parameters available, if you found this a bit techy we can help you with that, just send us an email at help@wpdevshed.com, thanks

  20. David says:

    Hi. The font for my website title is smaller than the font for my webpage title. I’ve created a child theme and tried changing the font size to several different lines of code without success. Could you help me? Many thanks.

    1. Charles says:

      Hi David, I don’t follow sorry. Can you provide an annotated screenshot or a link to your page so we can see the issue. Cheers.

  21. Jim says:

    I love this theme for my intranet. One problem, though. When viewed in Firefox and Chrome, the layout is perfect. When viewed in IE 9, the layout is a mess with bad spacing and weird image sizing. Any ideas what’s causing this (other than IE)? Thank you in advance.

    1. Charles says:

      Hi Jim, can you provide a screenshot of what the theme looks like in IE9 for you please. In truth we don’t tend to worry about older versions of IE, but my own testing suggests that IE9 does work ok.

      1. Jim says:

        Charles — thanks for the reply. How do I go about getting you a screenshot? I don’t seem to have an option in this form. BTW — I did test the theme in IE 11 and it looks great.

        1. Charles says:

          Hi Jim, you can post it to one of the free image hosting sites like imgur.com and link it here or email it to me at help@wpdevshed.com

  22. Trish says:

    Have removed the Searchform from the navigation bar and want to add the 25px reserved for the searchform to the nav bar. How do I do this?

    NOTE: I have a child theme installed. in which to make my css adjustments on.

    Thank YOU in advance.

    1. Ryan S says:

      Hi @trish,

      Thanks for using our theme

      Just overwrite div.menu > ul margin-right to only 25px, you can find the original code in style.css at line #870

      Hope that helps

      1. Trish says:

        It WORKED Ryan… THANK YOU {{{HUGS!}}}

  23. Kevin Miller says:

    Is there a way to have the social media links open in a new window?

    1. Ryan S says:

      Hi @Kevin,

      Thanks for using our theme

      If you mean via theme settings no, but if you prefer do it by hand or manually yeah there is, social code is added at header.php file start from line #29-84, just add target="_blank" in the anchor.

      Hope that helps

  24. Malek Mehaouchi says:

    Thank you. Really appreciate your prompt responses.

  25. Sorry to bother you again Charles,

    On the Attorney template:

    Why aren’t the slides in order of creation?

    Why are the slides created in the post panel?

    Since categories are under post, can we turn off the posts?

    When you click on a slide title, it takes you to a post. How do we turn that off?

    1. Charles says:

      Malek, I’m not sure I follow all your questions:

      • There are two slider options, one which slides recent posts and one which slides images from a gallery added to that template. I gather you are using the former. The slider slides the latest posts in reverse chronology just like a blog presents them. You can re-order this just by changing the post dates.
      • As above the slider is designed purposefully to display the latest posts. If you don’t want to display the latest posts, use the other home page template and instead simply add a regular wordpress gallery to the page and the template will slide the images in the gallery (with no link anywhere).
      • I don’t understand your question about turning off posts. But I think the answer is no, you can’t turn off posts.
      • You can’t turn off links to the post from the slider. I think what you actually want to do is use the other home page template which will slide a gallery of images without linking to the recent posts.
  26. Malek mehaouchi says:

    Sorry, I meant the slider

    1. Ryan S says:

      Hi @malek,

      Thanks for using our theme

      It should at least 1000 x 640 in pixel size

      Hope that helps

  27. Malek mehaouchi says:

    what is the suggested size of the images in the elder?

  28. Jeroen says:

    Can you tell me how to remove Date By and bokmark and permalink from Post

    1. Charles says:

      Hi Jeroen, this will require some theme customization, beyond the level of support we can provide here in the comments. Also making this change you should be sure to set up your theme as a child theme first so that future theme updates don’t overwrite your local changes. If you would like our help with this please email us at help@wpdevshed.com and we can provide an estimate. Thanks.

  29. Paul says:

    Hi!
    Thanks for this nice and simple theme.

    But i have a big problem. I want to add some adsense ads between the content on the pages. But there only appears a box in different sizes. (And thats not the box of the ad which is not activated.)

    Here is a picture of it
    https://www.dropbox.com/s/uvjbde99gukjbac/04-02-2014%2019-42-13.png

    The ads are working in the right sidebar. Only between the content its a problem.

    Please help me!!
    Thank you!

    Kind regards,
    Paul

    1. Charles says:

      Hi Paul, how are you putting your adsense code into your posts/pages? Are you using one of the popular plugins for this or did you add the code to the template? If the latter I suggest removing that and looking for one of the many adsense plugins in the plugin directory to try. If you are using a plugin perhaps try some different ones.

      1. Paul says:

        Hi Charles,

        thanks for fast reply.
        I have tried both opportunities.
        If i use a plugin (i tried 3 different) it appears this

        https://www.dropbox.com/s/j7ng4q5awsu7mk9/05-02-2014%2020-28-46.png

        I am really desperate of it 🙁

        Regards

        1. Ryan S says:

          So it display the ads but it just didn’t display well, it seems like an iframe or ins tag, use Firebug to check element.

          1. Paul says:

            Found the problem!
            Have to delete

            ins {
            background: #FF9;
            color: black;
            text-decoration: none;
            }

            in the css!

            Additional

            .commentlist li.comment article[id*=comment-] iframe, .post_content iframe

            of the following part in the css

            .commentlist li.comment article[id*=comment-] video, .post_content video,
            .commentlist li.comment article[id*=comment-] object, .post_content object,
            .commentlist li.comment article[id*=comment-] embed, .post_content embed,
            .commentlist li.comment article[id*=comment-] iframe, .post_content iframe

            {
            display: block;
            margin: 1.5rem 0;
            max-width: 100%;
            padding: 8px;
            background: #fafafa;
            border: 1px solid #e2e2e2;
            box-shadow: 0 0 5px #e7e7e7;
            min-width: 100%;
            height: auto;
            min-height: 340px;
            }

            Now it works!!! Yuhuu

  30. Janet says:

    Is there a way to increase the size of images to fill the post page?

    1. Charles says:

      Hi Janet, you just need to upload an image big enough to occupy that space and it will be full width for the post. If you upload an image slightly bigger it will actually scale it down to fit.

      1. Janet says:

        Thanks Charles! One more question, is there a way to completely remove the sidebar on posts?

        1. Charles says:

          Hi Janet, only by customizing the post template. That goes beyond the level of support we can provide here in the comments but if you’d like some professional help with this please email us at help@wpdevshed.com and we’ll provide an estimate on making any such changes.

Comments are closed.