Mediabistro Blogs Configuration: Difference between revisions
Jump to navigation
Jump to search
(→mobile) |
No edit summary |
||
| Line 14: | Line 14: | ||
* accessed through network admin > plugins | * accessed through network admin > plugins | ||
* theme: "carrington-mobile-X.X.X", where "X.X.X" is the version of the plugin | * theme: "carrington-mobile-X.X.X", where "X.X.X" is the version of the plugin | ||
==sidebar content== | |||
* <code>/wp-content/themes/[THEME]/sidebar.php</code><br/>e.g. for the "base" theme: <code>/wp-content/themes/base/sidebar.php</code> | |||
* The sidebar modules are set in the blog's config file. | |||
:* <code>/wp-content/themes/[THEME]/inc/config/[BLOG-SLUG]-config.php</code><br />e.g. for the "AllTwitter" blog: <code>/wp-content/themes/base/inc/config/alltwitter-config.php</code> | |||
:<syntaxhighlight lang="php"> | |||
$MB->sidebarModules = array(); /* << array contains list of module content include paths */ | |||
</syntaxhighlight> | |||
:* e.g. The featured jobs module: <code>$moduleDir.'jobs.php'</code> | |||
:* sidebar module content includes are located in <code>/wp-content/themes/[THEME]/modules/</code> | |||
[[Category:Mediabistro]] | [[Category:Mediabistro]] | ||
Revision as of 21:53, 13 April 2012
- Live blog admin: http://www.mediabistro.com/wp-admin/ l/p admin/devx2
sandbox settings
- http://dbarchowsky.blogs.mediabistro.com/
- http://dbarchowsky.blogs.mediabistro.com/alltwitter (etc.)
- admin > http://dbarchowsky.blogs.mediabistro.com/wp-admin/
network settings
- access to settings shared across blogs & sandboxes
- log in to sandbox dashboard > upper right link: "Network Admin"
mobile
- plugin: WordPress Mobile Edition
- accessed through network admin > plugins
- theme: "carrington-mobile-X.X.X", where "X.X.X" is the version of the plugin
sidebar content
/wp-content/themes/[THEME]/sidebar.php
e.g. for the "base" theme:/wp-content/themes/base/sidebar.php- The sidebar modules are set in the blog's config file.
/wp-content/themes/[THEME]/inc/config/[BLOG-SLUG]-config.php
e.g. for the "AllTwitter" blog:/wp-content/themes/base/inc/config/alltwitter-config.php
$MB->sidebarModules = array(); /* << array contains list of module content include paths */
- e.g. The featured jobs module:
$moduleDir.'jobs.php' - sidebar module content includes are located in
/wp-content/themes/[THEME]/modules/
- e.g. The featured jobs module: