Digital Raindrops
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why am I getting just a 0?When you say 0 where are you seeing that?
Does admin_url take an argument?
"<a href='" .admin_url("/admin-ajax.php?post_id=$iframe_post_idOr should it be:
"<a href='" .admin_url() .'/admin-ajax.php?post_id=$iframe_post_idAlso try hardcoding a value and see of it works?
post_id=32&codes=aisis-codes&action=aisis_codes&TB_iframe=true&width=768 /* Forum Scrollbars */HTH
David
Forum: Fixing WordPress
In reply to: Why am I getting just a 0?Not 100% but is it this line?
$iframe_post_id = (int) (0 == $post_ID ? $temp_ID : $post_ID);For other eyes PHP short examples if statements:
Like this $var = (condition) ? true : false;$iframe_post_id = ((int) $post_ID && $post_ID) ? $post_ID : $temp_ID; //does it have a value and a non zero integerMaybe test the $post_ID first integer or 0:
$post_ID = ( (int) $post_ID ) ? $post_ID : 0; $iframe_post_id = ( $post_ID ) ? $post_ID : $temp_ID;HTH
David
Forum: Fixing WordPress
In reply to: How-to: Use the One Click Child Theme PluginHi Jan,
I have already added a section to the child themes codex page, about the Dark Theme option.Not sure what you mean about creating a Codex Page, or which part of the information, I assume it would not be about the plugin?
I would not mind adding a page if I knew what part of the posts content I should use, any advise would help.
The Plugin:
I think the plugin is good for a new user that wants just to tweak a style and does not often get involved at a deeper level, or does not want to do to much.It could be developed into a nice plugin, creating a functions.php with empty init and after theme setup functions, and having the option to transfer template files from the themes parent.
Comment:
I have another child theme that creates the color styles for a twenty ten child, I am thinking to build the child theme plugin code with these extras into the next version of the child theme.Regards
David
Forum: Fixing WordPress
In reply to: How to create post excerpt for a complete newbieHi Annie,
Excerpts More Tag will work with the twenty eleven theme, have you tested that?Also there is a post area for creating a custom excerpt in the post ;Screen Options’
Woo Themes are back up and running!
David
Forum: Fixing WordPress
In reply to: How to create post excerpt for a complete newbieHi Annie,
Creating the folder in /wp-content/themes/ the theme name should be lowercase and no spaces./wp-content/themes/twentyeleven-child/
not
/wp-content/themes/twenty eleven child/If this is correct then you should be able to Activate and see the theme.
I have today written a post about a child theme plugin, which is not mine and I have no affiliation to the plugin.
Part of this post for beginners is about Changing a Style about halfway down the post and adding a text tagline in the footer.
Have a look and see if this post helps?
David
Forum: Requests and Feedback
In reply to: WordPress Core: Deploy a child theme from the parentCheers,
The plugin is part of the way there, it cannot transfer the template files but it is on the to-do list, and it only works with the active theme which could mean switching themes.Would be much better if it was a WordPress core option though as it would prompt theme authors to consider making their themes child theme friendly!
At least we can suggest it as an easy way to get started for topics where the author is editing core theme files instead of just saying create a child theme.
I will write a how-to post on my site using the plugin for now, it may help a few people π
Regards
David
Forum: Requests and Feedback
In reply to: Padding for code area scrollbars hiding textCheers,
It will save adding extra comment lines between the ticks to show the bottom line, so they can be read.David
Forum: Fixing WordPress
In reply to: Cannot access my wp-admin panel or my website (HTTP 500)This is tested and works!
To hide it sitewide on the search, category, archive and single pages
.entry-meta { display: none; }To hide it just on on the single page view, but still show it in the lists.
.single .entry-meta { display: none; }Please mark this as resoved if this works, and start a new topic for any other questions.
HTH
David
Forum: Themes and Templates
In reply to: Template for Elementary Age Class RegistrationThere are a number of event plugins as well for WordPress, some are free others are commercial
Have a Google for WordPress ‘event’ themes and plugins
HTH
David
Forum: Themes and Templates
In reply to: Look at this themeI used Artisteer when I started with themes and I am not sure now, but all Artisteer generated themes did not get accepted to the directory, I can see by the look and elements that the theme is an Artisteer.
<div class="art-bar art-nav"> <div class="art-nav-outer"> <div class="art-nav-wrapper"> <div class="art-nav-inner">The theme inspectors will know by the code functions, as there are a number of template structure, theme code issues which make them not suitable.
WARNING: This theme appears to have been auto-generated. Generated themes are not allowed in the themes directory.
I changed to devloping from the default WordPress theme changing code and elements for a custom theme, most of the themes in the directory are variants based on the default themes.
David
Forum: Fixing WordPress
In reply to: Cannot access my wp-admin panel or my website (HTTP 500)Rather than editing code just hide the element in the style.css at the end add this:
.entry-utility .entry-meta { display: none; }HTH
David
Forum: Fixing WordPress
In reply to: Database User LoginIf you used the correct Hostname (server), username and password and you cannot get into the database contact your ISP!
You should not need to tweek data in the tables, more information on what you are trying to do might help, and are you taking the correct path?
David
Forum: Fixing WordPress
In reply to: Cannot access my wp-admin panel or my website (HTTP 500)Not the WordPress admin area but your Internet Service Providers Control Panel!
If it was only the functions.php file you changed, then as Jan has said FTP or Wesite > Control Panel > File Manager >
Just upload and replace the functions.php file from a fresh theme download, you should not need to delete the folder, unless the code changes were in more than the single file.
Create and use a child theme, also look at setting up a second or local WordPres for changes and testing.
I also need to know how to remove this information from my site:
This is just the defaults for the widget area, just add a widget to the sidebar Appearance > Widgets and they will dissappear!
HTH
David
Forum: Fixing WordPress
In reply to: Database User LoginIn your ISP Control Panel “File Manager” or use FTP to look in wp-config.php at lines 17-28
// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'wordpress'); /** MySQL database username */ define('DB_USER', 'root'); /** MySQL database password */ define('DB_PASSWORD', ''); /** MySQL hostname */ define('DB_HOST', 'localhost');HTH
David
Forum: Fixing WordPress
In reply to: Random post list within the single page loopOk I read it again, are you just talking about a lists of posts at the end of single.php?
Have a look at the Y.A.R.P. Plugin “Yet Another Related Posts” plugin, this may work out the box
HTH
David