Attorney Theme

Share this:

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. Watch the video or check out the demo at wpattorney.org.

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.

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.

100 comments on “Attorney Theme
    • 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. 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

    • 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.

          • 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

    • 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.

  2. 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?

    • 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.
    • 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

  3. 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.

  4. 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.

    • 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.

  5. 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.

    • 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.

  6. 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?)

    • 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

  7. 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.

    • 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.

  8. 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.

    • 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

  9. 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!!

    • 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.

    • 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

      • 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.

  10. 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!

    • 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

  11. 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?

    • 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

  12. 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

    • 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. 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

    • 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?

      • 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.

  14. 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!

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

    • 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.

  16. 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!!

    • 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.

  17. 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

    • 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

  18. 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

    • 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.

  19. 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!

    • 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

  20. 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

  21. 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

    • 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.

  22. 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:

      • Review all your plugins. You may need to deactivate them to see if that fixes the problem.
      • Implement your theme as a child theme. This is important so that you can upgrade the theme with future releases and not lose any local customizations.
      • If you need professional help you can Try something like Elto or WP Curve.

      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.

  23. 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.

  24. 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…

      upload logo

  25. 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!

  26. 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!

  27. 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

    • 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

  28. 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.

  29. 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.

    • 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;}

  30. 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?

  31. 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.

  32. 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.

  33. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>