mar1965
Forum Replies Created
-
Forum: Plugins
In reply to: hiding/removing pdf iconsHi VeritasBanbury,
In your theme’s stylesheet, search for the following line in the styles for the right sidebar:
#r_sidebar a:link, #r_sidebar a:visited { background: transparent url(https://www.veritaswinebars.com/wpcontent/uploads/2013/03/stock_save_pdf.png)
Notice that the background is an image called stock_save_pdf.png. I’d recommend tweaking the style so that no background image is required.
Forum: Fixing WordPress
In reply to: New To this – Need some help uploading new viewHi Doldena,
When you tried to install the theme, did you try all the options in: Adding New Themes? If you haven’t already, try this: Adding New Themes Using the Administration Panels.
With regard to your second question, you can use subdomains or subfolders. See if this Codex article helps: Create A Network.
Forum: Themes and Templates
In reply to: Moving and changing entry footer-meta text.Hi mightyminx,
To add to cadfile’s advise above, in the blank functions.php file you can enter the following at the top:
<?php
After that, you can copy and paste the original function twentytwelve_entry_meta code which starts with the line:
if ( ! function_exists( 'twentytwelve_entry_meta' ) ) :
All the way until (and including) the following lines:
printf( $utility_text, $categories_list, $tag_list, $date, $author ); } endif;
After pasting the code, look for the section of the code that starts with the comments:
// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.
and modify the text “This entry was posted in…” accordingly. After making the change, add the following closing PHP tag all the way at the bottom of the file:
?>
and press Update File to save the child functions.php file. If you get a blank page, that means that you may have pasted something incorrectly; otherwise check a post on your site to see if the change took effect.
If you do get a blank page after the file update, you may need to go to your hosting control panel’s file manager or a file transfer program to delete the child functions.php file from the child theme folder and start over, or if your hosting control panel has a code editor, you can simply edit the file by deleting what you pasted, and go back to the WordPress Dashboard theme editor and start over.
Forum: Themes and Templates
In reply to: Moving and changing entry footer-meta text.Hi mightyminx,
The text you are referring to is located in the functions.php file within the function twentytwelve_entry_meta(). Follow this guide to create a child theme functions.php file to add a similar function with modified text according to your needs: Using Functions.php. Unlike the styles.css and template files, functions.php should not simply be copied to your child theme, something that I’ve made the mistake of doing in the past.
The following post might also be of help: Twenty Twelve Meta Data.
Forum: Themes and Templates
In reply to: How to move comments from post header to footer (Vortex)?I forgot to mention the following:
After creating a child theme in step 2 above, copy the following theme template files: wp-content/themes/vortex/content.php and wp-content/themes/vortex/content-single.php to the wp-content/themes/vortex-child directory (or whatever you named the child directory), and then activate the child theme from the WordPress Dashboard. Those child theme versions of the 2 template files are what you will be making changes to. In order to ensure that, make sure that the Vortex Child is the theme selected in the ‘Select theme to edit:’ dropdown at the top right hand side of the theme editor.
Forum: Themes and Templates
In reply to: How to move comments from post header to footer (Vortex)?Hi scrapyourstash,
The only way that you can move “Leave a comment” from above the posts to the footer of the posts, is to make some coding changes to a couple of theme template files from the WordPress Themes Editor. If you feel comfortable enough to follow these steps, try giving it a shot, but first take a backup of the files that the changes will be made to (see Step 1 below):
1. From your hosting control panel file manager, take a backup of the following theme template files (just in case something goes wrong in the steps that follow): wp-content/themes/vortex/content.php and wp-content/themes/vortex/content-single.php.
2. Create a child theme. See the following: Child Themes
3. From the WordPress Dashboard, go to Appearance -> Editor
4. Next, from the template file list on the right hand side of the theme editor, select the template file called content-single.php
5. Look for the following lines of code within the top section div class=”entry-meta”:<?php echo vortex_post_date() . vortex_post_comments() . vortex_post_author() . vortex_post_sticky() . vortex_post_edit_link(); ?>
6. From the above lines of code, find and then move the following line enclosed in quotes “vortex_post_comments() .” to the bottom section of code within div class=”entry-meta-bottom”. It should end up looking something like this:
div class="entry-meta-bottom"> <?php echo vortex_post_category() . vortex_post_comments() . vortex_post_tags(); ?> </div><!-- .entry-meta -->
7. Click Update File to save the changes
8. Repeat steps 4 through 7 for the template file content.php.If something goes wrong as you make the above changes, you can reupload the backups that you created, overwriting the modified files.
Forum: Fixing WordPress
In reply to: Where to put JS?Hi Shivo,
You can create your Javascript file and add the call to it by adding it to the “head” through editing of the header.php template (highly recommended using a child theme). This post should be helpful: Using Javascript.
Forum: Installing WordPress
In reply to: All I am getting is Index of/ & cgi-binHi MaryMagdalene,
No need to jump off the ledge. There are a number of possible reasons why you are encountering the problem. See if this post helps you: After Installing Only See the Parent Directory Listing and No Blog. Your issue is very similar and the solution can be contained within that post, or it can at least point you in the right direction.
Forum: Plugins
In reply to: The plugin does not have a valid header.Hi Rob,
When you state that you completed the installation, are you referring to the plugin installation, or the WordPress installation itself? What version of WordPress are you using? And, do you know if the plugin is compatible with the version of WordPress that you are using?
Did you install the plugin using Blue Host’s administrative panel? If you did, try activating it via the Plugins section of the WordPress Admin Dashboard.
Forum: Installing WordPress
In reply to: Zip File Too BigThis article in the Codex helps explain all the detailed steps: Installing WordPress – Detailed Instructions.
Forum: Fixing WordPress
In reply to: Remove page links under header-but not side menu?Hi,
This is the forum for self-hosted WordPress sites. You can post your problem on the WordPress.com Forums.
Good luck!
Martin
Forum: Fixing WordPress
In reply to: Twenty Twelve meta-dataHi,
This requires some changes to the php code. If you are comfortable doing so, here are some steps you can follow:
1. Copy the original php code of function twentytwelve_entry_meta() into your empty child theme’s functions.php template.
2. In the template file in your child theme just modified in number 1 above, insert the following line of code:
if ( ! function_exists( 'twentytwelve_entry_meta()' ) ) {
between the opening <?php tag and the line that says:
function twentytwelve_entry_meta() {
It should then look like this:
<?php if ( ! function_exists( 'twentytwelve_entry_meta()' ) ) { function twentytwelve_entry_meta() {
3. In the function program code, look for the section:
// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); } elseif ( $categories_list ) { $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); } else { $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); }
and make these changes:
// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { $utility_text = __( '<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); } elseif ( $categories_list ) { $utility_text = __( '<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); } else { $utility_text = __( '<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); }
4. Last, and extremely important, add another } (a closing bracket) just above the ?> (closing php tag at the bottom).
Forum: Fixing WordPress
In reply to: Twenty Twelve meta-dataThanks for that tip alchymyth! I completely took that for granted.
Forum: Fixing WordPress
In reply to: Twenty Twelve meta-dataHi,
In your child theme, you will need to place a copy of the theme functions template and make changes to the function twentytwelve_entry_meta(). Look for the following section of code:
// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); } elseif ( $categories_list ) { $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); } else { $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); }
Forum: Fixing WordPress
In reply to: Moving WP from localhost to serverHi Galit,
Who is your host? Find out from them if it is something that they offer, otherwise, see if they offer any other web based MySQL administration tool. phpMyAdmin is usually a standard offering on cPanels, usually already pre-installed.