Tag Archives: Themes

How to: remove the WordPress link in the Twenty Twelve Infinite Footer

Updated Post:

(2013-02-23)

Ok, so the first try, described below, wasn’t really working out for me. The original files are updated too often during updates, meaning the link changes back all the time.

So, instead I use the CSS to override the original information.

Change the site CSS by going to the admin site, choose Appearance, choose Edit CSS.
the div holding the “Proudly powered by WordPress”-link and the “Theme: Twenty Twelve”-text uses the CSS-class “blog-credits”.
There are several approaches one might use to alter the appearance. I will use the quick and not so very sophisticated option of just removing the content. Since there is no information I need to replace the existing with, I’ll just use the display:none; CSS rule to remove it.

So, add the following code to the CSS Stylesheet Editor content and the information should stay hidden even after updates to the core files.

.blog-credits {
    display: none;
}

Original Post:

In the original plain Twenty Twelve theme for WordPress (currently in use on this site) there is an infinite scroll feature. This feature introduces a footer once it kicks in. That footer links back to WordPress. To change this footer credits information I did the following.

Please note that this will be overwritten when the theme updates. So this is a note to self once it updates and I wonder why…

Step 1, go to the WordPress dashboard.

Step 2, go to the Plugins editor

plugins_ss

Step 3, Choose the correct plugin to edit. The infinite scroll feature is in the Jetpack plugin.

edit_plugin_ss

Step 4, Choose the correct file to edit. The footer credits is defined in the “jetpack/modules/infinite-scroll/infinity.php”

choose_file_to_edit_ss

Step 5, change the credits lines to your liking. The definition of $credits is in the infinite blog footer function towards the end of the file.

rows_to_edit

A lingering question is if the infinite scroll is a good feature or if it should be removed and the blog front page changed back to the paging of old…

Updating the Blog

Some meta about the blog itself.

I have been using the DejaVu theme by MySiteMyWay for a while but haven’t been that happy with the theme, the features, the look and feel, available updates and the update process. Any day now WordPress will release version 3.5 and with it the new 2012 default theme. its already available and very much less is more in the default look and feel. Since I currently don’t publish much more that normal blog posts about SharePoint, SQL Server and BI in general I thought I’d try the new theme for a while.

Some things aren’t working the same way, search and links to additional social media sites are in need of updating. I hope that the new version of WP will add some new features and that a similar Theme, with additional features, will become available.

I have also started with a series manager to see if some posts can be managed in a series manner. Lets see how that works out. I might need to post a proper series to get it working?

SharePoint Theme fails with international characters

When designing and deploying a new Theme in SharePoint 3/2007, the metadata for the Theme is stored in the ../12/TEMPLATE/LAYOUTS/1033/SPTHEMES.XML file for the default English sites. Other languages are stored under their respective folders, for example Swedish is using the 1053 folder.

When populating the SPTHEMES.XML file with information about a new Theme, international characters such as ÅÄÖ works fine in the Swedish file but SharePoint fails with the following error message if the same characters are present in the English theme file.

screenshot_crop

Workaround is to skip international characters in the English file…