Trim Post Content on Home Page

On your theme folder, open the index.php (or, home.php, or, front-page.php), and find, if there is a function named: the_content() Just change it to: the_excerpt() P.S.: If you can’t find the_content() in the mentioned file, try searching content.php, and in this case, change it with caution. Because in theme TwentyTwelve, it’s used with conditional tags … Read more

What login/password do I need to install a wordpress theme?

So which credentials does it need? If you are able to see the download form, then presumably your WordPress user credentials are OK. So, you need (s)FTP credentials. Either you got the username/password wrong or there is something site specific getting in the way, maybe at the server level.

How can I change the prev / next buttons text to Dutch?

If you’re simply using one language on your site: Find the utility.php file in your themes folder with location lib/functions/utility.php Next find the lines 227 and 231 and change the __( ‘Previous Post’, ‘contango’ ) and __( ‘Next Post’, ‘contango’ ) to your desired values. For example: previous_post_link( ‘%link’, __( ‘vorige post’, ‘contango’ ) . … Read more

Send data to Editor before saving the post

Assuming you refer to the WP main editor, you can get the TinyMCE instance with var mainEditor = tinyMCE.getInstanceById(‘content’); then clear the current content with: mainEditor.setContent(”); and add your new content mainEditor.setContent(‘we are the borg lower your shields and surrender your ships’); If the new content doesn’t get saved, call tinyMCE.triggerSave(); additionally.

Display Pointer only once?

The idea of the pointer is to update the user meta when the pointer is closed. This is what will prevent the pointer from displaying on every page load. Once the user clicks “Close”.. that user meta pointer key is updated. So, add a post method to your close function: close: function() { // Once … Read more

Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?

Found the solution… the problem was due to placement of the conditional statement in the wp-config.php file. It needed to be inserted before the require_once(ABSPATH . ‘wp-settings.php’); line near the bottom of the default config file, otherwise the constants are already defined and cannot be redefined. So final section of the wp-config.php file now looks … Read more