30.10.11

Turn off WordPress Comments

A screenshot of the default WordPress theme.Image via Wikipedia


http://wordpress.org/support/topic/turn-off-comments-on-pages-by-default

NOTE: LINES OF CODE NOT SHOWING UP. WYSIWYG DELETES SCRIPT

Don Spark
Member
Posted 2 years ago #

Hi,

Simple question:

How do I make comments "turned off" by default?

I am shaping up a WP CMS for non-technical users. They shouldnt have to worry about erroneous check boxes.

Thanks!

Don Spark

TransPersonal
Member
Posted 2 years ago #

Settings >> Discussion >> uncheck "Allow people to post comments on new articles"

This applies to new posts that you will publish from now on. To disallow comments from already publish posts:

Posts >> select them all and "Edit" under bulk actions and hit apply >> choose "do not allow" next to comments and hit update posts.

mercime
Member
Posted 2 years ago #

What TransPersonal said. And, if you want to make it pseudo-permanent, you can delete the comments tag in single.php (and in page.php if you have one there)from your theme.

S.K
Member
Posted 2 years ago #

The topic title talks about "pages". Assuming that you want to continue have discussion on your blog posts but turn it off only from "pages, you'll have to remove the code snippet "" from the page.php of your theme, as mercime advised.

If your theme uses some other template for pages, you find it out and snip out the line.

S.K

Don Spark
Member
Posted 2 years ago #

I just want to turn it off by default...on pages only. I want blog posts to have comments by default but not pages. The checkbox has a checked by default. I want it un-checked by default for pages.

I am using the hybrid theme framework. That theme has a page.php which has this only this referring to comments


Is something in there putting a check in the box or does that exist somewhere else in wordpress?

We are going to be making lots of pages with nubies.

Thanks!

mercime
Member
Posted 2 years ago #

If you want to have comments in your blog posts, then leave the comments on in Settings > Discussion. Then in order to disable comments in Pages, delete in page.php

S.K
Member
Posted 2 years ago #

You can remove that line of code if you want to disable comment on pages.

Instead you can "comment out" the line of code thus:



You can remove the "//" part when you want to turn on comments on pa

Enhanced by Zemanta

29.10.11

PHP Web Design 101

The Most Powerful Way to Build Your Website



Elementary explanation of basic HTMLPHP website structure:
First defining DOCTYPES and META data then

Main 3 parts of every page:
HEADER header.php
FOOTER footer.php
SIDEBAR sidebar.php

connect together pages with main content
via php statement
PHP INCLUDE:

in at least one required
INDEX PAGE index.php

may add other pages of content with PHP INCLUDES of 3 main parts

Also gives good basic explanation of how to use CASCADING STYLESHEET, style.css,  to format entire site.

Lots of beginners tips to fix common problems like

Use MIN-HEIGHT when sizing the elements that aren't fixed height.
Zeroing MARGINS and PADDING for body selector.
Adding AUTOFLOW to get wrapping parent divs to stretch across floating child divs.
Add 'wrapper' class with AUTO MARGINS around each div you need to CENTER

Detailed explanation of how to style UNLIMITED LIST of links into a horizontal list for navigation with
DISPLAY:INLINE
TEXT-DECORATION NONE removes bullets
OVERFLOW:HIDDEN keep color from flowing beyond nav bar boundaries.

Additional videos on http://www.johnmorrisonline.com
Enhanced by Zemanta

20.10.11

Google Analytics Video and Lessons



http://www.google.com/support/analytics/bin/static.py?page=guide.cs&guide=19779&topic=19783&answer=138517


Google Analytics IQ Lessons

26.7.11

SZW Schwarzwald Music Website | Final Logo


After numerous trials with filters and blend options I came up with a unique sophisticated slick marble text effect that isn't the usually 3-D blocks of stone. Then I added extensive detailing of shadows and lighting effects for each splash component. I presented the final "lipstick grunge" logo on a darker grungy aged mossy green marbleized canvas.  (click image to enlarge)

25.7.11

SZW Schwarzwald Logo | Photoshop development

Click images to enlarge.
 I created a custom pattern with a seamless real marble texture similar to his mockup. Typed "SZW" as plain text using MOD font on marbled canvas. Originally client wanted to keep text effect simple and white underneath the liquid splashes.

To avoid the "cheesiness" of plain white, I suggest adding a white satin effect created with a barely visible gradient and grey 1 px stroke.
  For some depth add very low opacity outer glow to float letters over marbled canvas.
Keeping in mind we are trying to create a new unique styling concept he has defined as "lipstick grunge" I used his original splashes in different positions in a deeper red color (instead his original orchid deep pink color) to achieve the dual impression of blood and lipstick. 

In order to achieve the effect of wrapping arround indiviual letters, I retype each letter as single character in its own layer directly over "SZW" layer. Then duplicate each rear splash on top of corresponding letter. Then used layer mask to erase splash pixels covering letters and reveal only splash pixels covering letter.

 I transformed some splashes to smaller sizes I could insert between individual letters.
 I revealed original "SZW" text layer (all 3 characters together) with outer glow underneath.
 Added low opacity inner glow to each letter. 
I cut out some small speckles from splashes to cover some space for better visual composition and increase impression of liquid movement. 

Arrows point out the subtle discrepancies in realistic lighting and shadowing on the splashes.

 I used levels and contrast adjustment layers to achieve a more realistic lighting and shadow effects on each splash layer.
I used non destructive dodge/burn technique to fix additional shading on interior components
Client full approved design so far, but we decided to allow me to come up with a "marbled" text effect.




22.7.11

SZW Schwarzwald Music Website | Layout Development


General layout developed for the Facebook page using all of the functional and graphic elements requested by the client. He only wants a single page which conveniently allows visitors to listen to his featured audio tracks, watch featured videos and check his list of upcoming events which link to Facebook Event pages. To conserve space he'd like scrollable boxes for each content module. Instead of a menu for navigating subpages, he requests a prominent horizontal menu of social networking links. Instead of audio player, he'd like to embed audio tracks from his Sound Cloud account.  Similarly he'd like to use You Tube embeds from his You Tube Channel.

Unfortunately, we cannot use this image of velvet curtains as a frame in front of You Tube video embed as he would like. I have suggested choices:

 Client's original "lipstick grunge" mockup:

21.7.11

SZW Schwarzwald Music Website | Concept Development

Knowledge of the dub-step music genre and an understanding of this client's own unique musical style is the first and most important step toward concept development.
According to Wikipedia:
Dubstep is a genre of electronic dance music that originated in south London, England. Its overall sound has been described as "tightly coiled productions with overwhelming bass lines and reverberant drum patterns, clipped samples, and occasional vocals".
This genre with Jamaican roots is described with adjectives such as grimy, dirty and funky. The client, Schwarzwald defines his personal style as being particularly dark, sinister and heavy, yet having intelligence and classical motifs. When asked to provide a visual image to evoke the emotions for his styling, I was given the great marble sculpture, "Lucifer" for inspiration.
Le génie du mal (installed 1848) or The Genius of Evil, known informally in English as Lucifer or The Lucifer of Liège, is a religious sculpture executed in white marble by the Belgian artist Guillaume Geefs
I  found this montage which we agreed on for an additional source of inspiration for styling.
Related Posts with Thumbnails