LightJoy
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Are Multiple Separate Areas of Editable Regions Possible?Can you provide an example or two of WordPress templates that exhibit multiple separate areas of editable regions within the same page?
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesAfter numerous unsuccessful attempts during each of several days, the Pastebin’s continued inaccessibility would cause one to conclude that the Pastebin is essentially useless.
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesThank you for the Pastebin link. It seems to be busy now – repeated attempts to access it continue to produce an “500 – Internal Server Error” error message. I will keep trying.
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesWhere is the Pastebin option? A zipped file has been prepared to upload but where is the option to share it here?
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesThank you for your response. However; as stated, it is “… The page’s title …” that is being placed by the associated code, not “… the site title …”
The page’s title is different for every page and is not “… content that should remain consistent across the whole site …”
The previously posted two matters await a reply.
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesA very very basic, new-from-scratch, non-blog WordPress theme is now nearly complete. However, there are a few questions that still need to be resolved. Two of the questions are:
1. When editable content appears in multiple portions of the page, how is it implemented and managed? For example,
<?php the_content(); ?>is used to enable WYSIWYG editing of one content area located within the main portion of the page. Yet there are several small special purpose content boxes (e.g., four DIVs floated left to form a row across the page) that presently have no way of receiving similarly editable content.2. The page’s title does not display on the home page, yet it appears on all other pages. Specifically,
<h1 class="page_title"><?php wp_title(); ?></h1>
code is used within the index, home, and page theme files. All pages display the page’s title exactly as intended, except the home page which dispays no title whatsoever.Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS Files1. Does generated classes mean WordPress-specific CSS classes?
2. Is there a specific web page reference (i.e., a single link) exhibiting the generated classes and how one accesses the classes to make a custom WordPress theme?
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesThus far, making a theme from scratch seems to be more straightforward than a retro-fit approach. The associated XHTML and CSS files have been broken into the WordPress-favored style, header, footer, index, and sidebar files.
When the site is to consist solely of WordPress ‘Pages’ (remember, the site will not exhibit a blog), how is the CSS styling applied when the ‘wp_list_pages’ feature is used?
For example, if the site’s navigation (in plain XHTML/CSS) is:
<ul class="nav_primary_ul"> <li><a class="nav_primary" href="nav_option_a.php">Nav Option A</a></li> <li><a class="nav_primary" href="nav_option_b.php">Nav Option B</a></li> <li><a class="nav_primary" href="nav_option_c.php">Nav Option C</a></li> <li><a class="nav_primary" href="nav_option_d.php">Nav Option D</a></li> <li><a class="nav_primary" href="nav_option_e.php">Nav Option E</a></li> <li><a class="nav_primary" href="nav_option_f.php">Nav Option F</a></li> <li><a class="nav_primary" href="nav_option_g.php">Nav Option G</a></li> <li><a class="nav_primary" href="nav_option_h.php">Nav Option H</a></li> <li><a class="nav_primary" href="nav_option_i.php">Nav Option I</a></li> <li><a class="nav_primary" href="nav_option_j.php">Nav Option J</a></li> <li><a class="nav_primary" href="nav_option_k.php">Nav Option K</a></li> <li><a class="nav_primary" href="nav_option_l.php">Nav Option L</a></li> </ul> <!-- end nav_primary_ul -->How does something like:
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>capture the relevant styling? Your suggested WordPress code for producing the listed XHTML/CSS navigation (above) would be greatly appreciated.
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesModifying an existing theme seems as though it might be more time consuming than simply starting from nothing and making a new theme. Thus, modifying an existing theme has been abandoned in favor of attempting to make a new theme.
A “make a theme from scratch” approach is likely both quicker and easier when the desired site exhibits a simple page layout and is to consist of just a few “pages” with no blog. Some follow-up posts will be placed here as the “make a theme from scratch” approach progresses (or not).
Forum: Themes and Templates
In reply to: Making A Theme From Existing XHTML and CSS FilesAn attempt is being made to change the default theme since a search for a similar theme produced zero results with the WP site’s theme search/filter tools.
The text in the footer is changed easily enough via the footer.php file, and the associated background image via the style.css file. However:
1. Removing the sidebar by commentiong out get_sidebar in the index.php file does not produce the desired result. Since this site will not exhibit a blog, a typical unordered list for navigational items in the left side is desred, with a second column on the right side of the page for the associated content.
2. Discovering where to set the site’s width to 990px is also proving to be difficult to find in the style.css file.
Your helpful suggestions toward addressing the first two changes would be greatly appreciated.