Forum Replies Created

Viewing 15 replies - 16 through 30 (of 36 total)
  • Has this problem been solved.
    Not showing in IE 9 is a definite deal breaker for working with JWplayer.
    Have two clients that are shopping for commercial license but they can’t use a player that leaves out such a huge market share.

    I am trying to debug my theme and got tired of seeing debug messages from my wp-dbmanger plugin.

    So inserted the following code:

    function cron_dbmanager_reccurences($schedules) {
    
    if (!isset($backup_options['repair']) || !isset($backup_options['repair_period'])) {
                    $repair = 0;
            } else {
                    $repair = intval($backup_options['repair'])*intval($backup_options['repair_period']);
            }

    No clue why repair and repair_period is missing from $backup_options. So this is not a fix per se. Just a way to shut up the debug.

    I recommend either cloning a theme that you are customizing or do the more correct method of creating a Child Theme.

    I tried to maintain a customer style sheet on my 2010 and it kept getting over written every time I updated wordpress.

    So now I work with a child theme so that my custom changes are not over written.

    I was wondering about adding pages one for one.
    One wp page for each static page.
    The content of the wp page could be a shortcode something like
    [grabstatic url=”/folder/pagename.html”]

    Then the plugin could grab the static page with either a include or perhaps one of the http functions in wp.

    I am quite new to hacking wp, so I can’t say which of these options would be the fastest to code or the best for stable running.

    Just a thought. I think you should be able to grab the static pages from behind a .htaccess password protection scheme as well to prevent non-members from lurking your content.

    Just a thought.

    Is the idea to create/store/manipulate the static pages outside the wordpress system, but use the wordpress system to navigate the data?

    I believe you will need to access your site through ftp or some other such. Maybe your cpanel has a file upload feature.

    I prefer direct ftp. But it is possible in a pinch to get by with the cpanel file upload procedures.

    You would then download the update to your computer and upload the suggested files from there.

    Make sure you don’t overwrite your wp-content folder.

    Hello,

    Take a look at this article: https://en.support.wordpress.com/links/

    If this does not answer your question, give a few more details about what you are trying, the results you get, and what you expected.

    Regards,
    Claude

    If you are looking for tutorials, there are many good ones around.

    You can search in youtube, or do a google search.

    When I got started I happened to have 20 days left on a free trial for Lynda.com

    They had some nice video tutorials.

    If you want to get your feet wet before starting your own website sign up for a free account at wordpress.com — they have a pretty friendly user forum devoted to wordpress.com blogs.

    And, please don’t overlook the many information pages on this website. Once you get the hang of it, you can find very helpful hints and how-tos.

    The style.css file for Twenty Ten is a bit large.

    If you are just trying to change the colors of the buttons, that might be “not too hard.” Other more significant changes could be daunting.

    The way I made my changes was to use Firebug addon in Firefox to locate the selectors that mattered. Things like:
    #access a
    #access ul ul a
    #access ul ul :hover > a
    #access ul li.current-menu-parent > a

    If the above stuff looks too unfamiliar or scary weird, you might want to reconsider messing with the css.

    If the above stuff looks like you might recognize it, then just make sure to create a backup of the style.css file before messing around.

    Thread Starter gxxaxx

    (@gxxaxx)

    Can’t read the Forum Rules at the moment.
    Get the following response:
    Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

    Rules must have changed in the past few months, I posted a slightly modified version of code that was taken from a 10 month old post.

    Thread Starter gxxaxx

    (@gxxaxx)

    The code from https://www.ads-software.com/support/topic/latest-5-posts-from-each-category
    was a great starting point for my problem.

    For my application I had to change a few things to get it to work.
    1) The endforeach; at the bottom (just before the endforeach) required parens. endforeach(); If I did not change this I could not use a static home page. It would revert to the index.php but only show one post.

    2) I needed to set $more to zero or the whole post would show. And I just wanted the part up to the “more”. Had to remember to reset the $more to its previous value or none of my pages would show the full content.

    I’m sure there would have been a more elegant way to handle this. I’m just hacking my way through the code with a machete and lot’s of hoping ??

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter gxxaxx

    (@gxxaxx)

    Thank you. Two very good references.

    In the args passed to query_posts we have

    $args = array(
    'posts_per_page' => 1,
    'cat' => $cat->term_id,
    );

    I changed the 5 to 1 because I want only a single post.
    I need the most recent post.

    Now here’s the part where I really expose my newbishness to wordpress.

    Since wordpress has its foundation as a blog, are the posts always returned in latest (most recent) first — unless specified differently? Or, do I need to tell the query_posts that I want the last one?

    Thanks again for previous reply
    Claude

    I found the process of changing the prefix a bit intimidating. Many warnings about backups and what to do when all hell breaks loose. Hence, it is nice to have a solution that can be added to an existing blog without as many worries about trashing everything.

    Thanks for the posts alchymyth and drkknght.
    It served to introduce me to a whole new area in the wordpress world.
    Between this code and the https://codex.www.ads-software.com/Shortcode_API page everything went great.

    Thread Starter gxxaxx

    (@gxxaxx)

    I figured it was either in the js itself, or in php. It makes sense that it is in the php. Much less trouble with crossbrowser issues and, as you say, everything is local to the server.

    Thanks for the answer,
    Claude

Viewing 15 replies - 16 through 30 (of 36 total)