Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter paka

    (@paka)

    Hello and thanks for the answer.
    I know what causes the warning. The question is, when will it be fixed, and perhaps, why didn’t it occur 4 weeks ago, but today. I can’t remember, upgrading php since then.

    Greets and good evening

    Thread Starter paka

    (@paka)

    Hello,
    it’s an attack.

    If somebody recieves the same problems, I will descripbe in short, what I did. But this is not complete, you should look for further information from other sources.

    Checking the log-files, I found requests from 3 other webpages during 10 hours. Two of them where infected, with scripts pointing to my site.

    I have found three infcted files:
    index.php at root
    config.php at root
    head.php in the theme directory.

    Currently I’m deleteing the whole installation, and then I will install a new one, install theme and plugins new.
    The first things I did, was chenaging ALL passwords.

    Greets
    Paka

    Hello justyngh,

    I would do something like this: (excuse my english, I’m no native speaker, to be frank, I’m no english speaker at all, only reader and sometimes writer ;-))
    put footer and after-footer in one div /footer.
    Take one or both aut of the document flow by absolute position or float, so that it won’t be displayrd over the whole width.
    All these elemts have a class container-full-width, why? This has to be changed, to place them in one line.
    The container, conataining them both can get the class container-full-width.

    Greets
    Paka

    Hello shapeshifterbe,

    I use wp 3.8.1, and there the upload button is on the top left next to the menu. Since my WP is german, it is called ‘Hinzufügen’, but this shouldn’t change the place on the screen.

    Greets
    Paka

    Thread Starter paka

    (@paka)

    Hello,

    now I found, where the script tag was inserted. It was in the index.php on top level of the WordPres installation. But since I didn’t inserted it myself, I wonder If the website has been hacked, so I will investigate first in that direction.
    If anybody has recieved a similar incident, it would be graet, if he/she could tell me. I’m realy worried, what had happened, but since I didn’t realy understood everything the w3 total cache plugin does, I have to look there as well, until I found the reason.

    Greets
    Paka

    Hello Georgina,

    the first thing I would try, is to edit the entry active_plugins in the table wp_options.
    I HAVE NOT TESTED THIS, BE CAREFULL.
    The activated plugins are stored as an array.
    But you should make a backup of your database before.
    Bu you have to be carefull and know what you do because You cannot simply delete everything concerning w3 cache in this entry. For example, the indices of the array have to be correct after the change.

    If your not shure, try to find a different solution.

    Greets Paka

    Hello adragt

    I would suggest, to extend the Walker_Nav_Menu class. There is a function named end_lvl. You can overwrite this function, and insert the menu item here, bevore the ending .

    Here ara some infos: http://codex.ww.wp.xz.cn/Function_Reference/wp_nav_menu
    there is also an article here: http://codex.ww.wp.xz.cn/Function_Reference/wp_nav_menu.

    I hope this helps.

    Greets Paka

    Hello,

    I think it can be done with al little PHP coding, and using custom-fields.
    You can insert a custom field ‘favicon’, with the name of the file.
    Then you write a function ‘getFavicon()’, and bind it to the wp_head hook. In this function you can get the name by using

    $file = get_post_meta(id, 'favicon)

    This http://codex.ww.wp.xz.cn/Custom_Fields
    and this http://codex.ww.wp.xz.cn/Function_Reference/get_post_custom should give you some background information.
    I think it’s easy, but ask if there are some problems

    Greets
    Paka

    Thread Starter paka

    (@paka)

    Hello,

    of couse I can try again and again, but there is no change since I’m back in the forum three days ago.
    The search form is the one in http://ww.wp.xz.cn/support/ at the left side.
    I’ve some problems, which are not very special, but since searching doesn’t work any more I can’t find any answers, so I have to start a new thread for everything. Of couse I don’t get that much answers, because people think, ‘why don’t he looks it up, it’s easy!’.
    I tryed a Google-site-query (I think you know what I mean, but I dont’ know how to say it in english, in german-denglish its ‘Siteabfrage’) ‘site:http://ww.wp.xz.cn/support/ topic’, but the serps where’t special enough.

    Greets Paka

    Thread Starter paka

    (@paka)

    Hello Endlyss,

    thanks for the quick answer.
    The text before the ul-list, the whole ul-list and the last sentence after the ul-list are in one li-element of the ordered list.

    <!-- here I open the li-element--><li>Lorem ipsum dolor sit amet:
         <ul>
    	<li>wLorem ipsum dolor sit amet</li>
    	<li>Lorem ipsum dolor sit amet</li>
    	<li>Lorem ipsum dolor sit amet</li>
        </ul>Nun kann man entscheiden:</li><!---And here it is closed--->

    And a ul-element is alowed as a child of a li-element inside a list. The text at the page wouldn’t make any sense, if I insert this sentence in a new li-element.
    The code I posted is only one expmple. I recive this behaivior several times, and I’ve always looked for a workaround, to make the output look ok, but this can’t be the solution.

    Greets Paka

    And you realy do all this on your local computer?

    Hello johnsimpson_uk,

    excuse my english, I#m no native speaker.
    As long as I understood your question, you try to add a button in the edit post page, and this button should be able, to display a new row with input-tags.
    I think you have to use javaScript to create the additional input-filds with an array and count up the index.
    The firs input would be:
    <input name="name[1][]" type="text" size="8" value="value" />
    the second
    <input name="name[2][]" type="text" size="8" value="value" />
    You can create the number in js and save them with update_post_meta.

    Greets paka

    Hello RelationshipChef,

    is it true, that you created the child theme folder inside the parent theme folder.
    You should use
    themes/parent-tehme
    and
    themes/child-theme.

    Greets
    Paka

    Hello,

    This is a short answer, withouut the time, to look anything up.
    I would look in the walker-class, which creates the menu. The name of the menu is written in the ul-element as a html-class. This must be done in the walker. Perhaps you can use the same procedure.

    Greets
    Paka

    Hello aselenwall,

    To do so, I would create two widget areas, one for images, and one for videos. If you insert the right widgets in the backend, you can chose the widget to show, when the page is called.
    You could use the title, or you can create a custom field (name media, and values image / video. Now you can check the value, to select the widget area to give out.

    Greets
    Paka

Viewing 15 replies - 1 through 15 (of 22 total)