Forum Replies Created

Viewing 15 replies - 511 through 525 (of 574 total)
  • Are you uploading images in the admin section or is this a custom plugin?

    Forum: Fixing WordPress
    In reply to: Corrupt DB

    It might be a htaccess issue. The old site may have been in the root folder and now you have it http://……/wordpress/ Also you may try outputting the data and do a text search for any referenced to the images folder or CSS folder and see if its pointing to another directory.

    Thread Starter Bloke

    (@bloke)

    It seems to be fixed now. Not sure what exactly corrected the issue. I changed the file above and uploaded it. Then changed it back. Also I had some javascript and jquery links I thought could be interfering and I removed and then added them back.

    Thread Starter Bloke

    (@bloke)

    I tried that and is still doesn’t work. Maybe when my WPtouch mobile them is activated the safari reader button will disappear.

    Can you see what is on line 3? Sometimes its the code one line above or below it.

    Does your page render correctly? If you view source code of the page what does the entire link of the attached css say?

    Thread Starter Bloke

    (@bloke)

    I figured that was the case. I had it ErrorDocument 403 /errors/forbidden.php
    and it worked but it was a plain page. I wanted to incorporate it so it looks like the 404 page does.

    Forum: Fixing WordPress
    In reply to: Upgrade process
    Thread Starter Bloke

    (@bloke)

    Is there a reason it doesn’t always delete these temp files and folder?

    Forum: Fixing WordPress
    In reply to: Upgrade process
    Thread Starter Bloke

    (@bloke)

    Well I upgraded another one of my sites and looked at the files on the server and it didn’t have the files I listed above from the upgrade. Does it usually create those folders and files and then delete them from the server?

    Forum: Hacks
    In reply to: Help with my first plug in
    Thread Starter Bloke

    (@bloke)

    I finally got it to work after I figured the slug line and the order of things. Also it would say I didn’t have permissions and I would have to sign out and back in to test it each time I changed the code.

    add_action('admin_menu', 'myLiterature_menu');
    
    function myLiterature_menu() { 
    
        add_menu_page('Literature','Literature',10,'get-literature','addLiterature');
        add_submenu_page('get-literature','Literature','Edit Literature',10,'edit-literature','editLiterature');
    
    }
    
    function addLiterature() {
        global $title;
        ?>
        <div class="wrap">
        <h2><?php echo $title;?></h2>
        Functionality for adding content will go here ...
        <div id="icon-edit-pages" class="icon32"></div>
    </div><?php
    }?>
    
    <?php function editLiterature() {
    global $title;
        ?>
        <div class="wrap">
        <h2><?php echo $title;?></h2>
        Functionality for editing content will go here ...
    </div><?php
    }?>

    Forum: Hacks
    In reply to: Help with my first plug in
    Thread Starter Bloke

    (@bloke)

    Tried this and still can’t get the sub menu to appear.

    add_action('admin_menu', 'myLiterature_menu');
    
    function myLiterature_menu() { 
    
        add_menu_page('addLiterature', 'Literature', 10,'manage_options', 'add-literature','addLiterature');
        add_submenu_page('addLiterature', 'EditLiterature' ,10,'manage_options','edit-literature', 'editLiterature');
    
    }
    
    function addLiterature() {
        global $title;
        ?>
        <div class="wrap">
        <h2><?php echo $title;?></h2>
        ... Functionality for adding content will go here ...
        <div id="icon-edit-pages" class="icon32"></div>
    </div><?php
    }?>
    
    <?php function editLiterature() {
    global $title;
        ?>
        <div class="wrap">
        <h2><?php echo $title;?></h2>
        ... Functionality for edit content will go here ...
    </div><?php
    }?>

    Forum: Hacks
    In reply to: Help with my first plug in
    Thread Starter Bloke

    (@bloke)

    I got it to run the first function. Now it won’t display the sub menu button.

    `
    add_action(‘admin_menu’, ‘myLiterature_menu’);
    function myLiterature_menu() {

    add_menu_page(‘addLiterature’, ‘Literature’, 1, ‘manage_options’,’addLiterature’);
    add_submenu_page(‘addLiterature’, ‘Literature’, 1,’manage_options’,’editLiterature’);

    }

    function addLiterature() {

    echo “<p>This is the page to edit content</p>”;

    }
    function editLiterature() {

    echo “<p>Edit page</p>”;
    }’

    Thread Starter Bloke

    (@bloke)

    It was a CSS issue on another plug in not a WPTouch problem. If I removed that jquery link, WPTouch will work but the editor in the other plug in didn’t look correct. The quick tags were not displaying correctly. I found it was an issue with the CSS file being loaded for the plug in. I took each line out until the editor window looked correct.

    Thread Starter Bloke

    (@bloke)

    The buttons were the quick tags. I found it was an issue with the CSS file being loaded for the plug in. I took each line out until the editor window looked correct.

    Thread Starter Bloke

    (@bloke)

    I found it was an issue with the CSS file being loaded for the plug in. I took each line out until the editor window looked correct.

Viewing 15 replies - 511 through 525 (of 574 total)