bbPress is a simple but complete forum written in PHP and MySQL that provides excellent integration with WordPress .
The integration with WordPress is built on several levels, so that we analyze later. To start here is a simple snippet to be included in the configuration file bbPress: bb-config.php .
1 2 3 4 5 6
| / / Upload the Wordpress engine / / The double call to dirname () is obviously / / A ".. /" and depends on where it is positioned bbPress / / Than the root of Wordpress dirname ( dirname ( __FILE__ ) ) . '/wp-blog-header.php' ) ; require_once ( dirname ( dirname (__ FILE__)) '. / wp-blog-header.php'); 'WP_BB' , true ) ; define ('WP_BB', true); |
This code allows the kernel to use WordPress inside bbPress environment. ) nelle pagine facenti parte del tema del Forum. In practice, therefore, you can insert functions as get_bloginfo() (or any other function as get_header() ) in the pages that are part of the theme of the Forum. In this way it will be simple, for example, align the graphic layout, allowing the subject to access bbPress pagination WordPress.
More ...
One of the huge advantages of Mozilla FireFox , compared to other browsers, it was, it still is, to possess a large amount of free extensions that allow you to customize and extend. As a web developer I can not - now - to do without some useful extensions that help me in the construction, inspection and maintenance of Web pages
More ...
As seen in the Very short snippet: PHP word cut is more pleasant to break a text to "words", as it avoids cutting a word. There is still counting those who prefer to cut the fonts, as it makes the "cuts" more homogeneous and similar, despite the significant risk of cutting a word, mozzandola the net!
More ...
I often happen to customize the home page ( index.php ), or other sections such as the Sidebar, a Web site made with WordPress. Many of the custom tag loop with specific parameters, for example in order to view the last items of a specific category or tag.
More ...
In addition to the graphics field input the search of WordPress, you can act on it at the level of code to make it a bit interactive when you click inside it. Easy to achieve an effect lets you insert text into the search field will disappear (and reappear when you leave the field blank) when you click inside it.
More ...
When writing a Post in WordPress you can upload images to simultaneously writing the article. These images, which are part of the media library, are associated with that particular post. The peculiarity of this behavior lies in the possibility of extracting these images no matter if they were physically placed inside the post.
More ...
Latest Comments
vik : Users custom fields seems interesting, should be added the ability to validate the field based on ...
kOoLiNuS : @ Giovambattista Fazioli: thank you! more than willing!
Giovambattista Fazioli : @ kOoLiNuS: Quiet, you can probably anticipate that WPX Cleanfix will be free, and ...
kOoLiNuS : @ kOoLiNuS: a missing
and a 
kOoLiNuS : @ Giovambattista Fazioli: I subscribed to, but when I was my amateur use of the platform ...