Admin cannot publish

When I logged in on my site this morning I noticed that my user can’t publish anything. I am administrator and the only user on the site. On Posts and Pages instead of “Publish” I have the “Submit for review” button and if I click on it the page is blank and displays “Sorry you are not allowed to modify this post”. I have the same issue with all my plugins disabled and even after cache reset. Can you help me? Edit: Thanks for the answers i finally managed to…

Web Design Weekly #328

Headlines Page Lifecycle API Philip Walton goes into great detail about the new Page Lifecycle API, which allows browsers to better manage resources if you have a crazy amount of tabs open. (developers.google.com) Getting to Know a Legacy Codebase Harry Roberts gives some sound tips about getting to know a codebase that is unfamiliar. (csswizardry.com) Sponsor Web Design Weekly and reach over 30,151 passionate designers and developers Articles React Suspense Andrew Clark discusses React’s vision for how async rendering can improve data fetching, code delivery, prefetching, view transitions, and more.…

Is there a way to let user add and remove fields with Contact Form 7?

I’m building a form with Contact Form 7 and I would need to add multiple fields under a single label and I would need to let the user to add more fields under that same label if needed. I’m using 4 fields as a starting point and I’d like to have like a + sign next to the last field which would add another field to the same set. Example: Prizes: [ ] [ ] [ ] [ ] + When that + sign is clicked another field would appear…

Use admin-post to submit form data to external database

I am creating a custom form in WordPress to store and send data to an external database. As part of testing, I was successful in creating a form that submitted form data to the external database by having the form refer back to itself upon clicking the submit button. I now would like to leverage WordPress admin-post functionality instead of having the form refer back to itself. I have set up the action hook correctly as I see the $_POST variables displayed once the form is submitted using: <form action= »<?php…

Remove option to allow trackbacks/pingbacks from post page options

I’m trying to disable all functionality related to pingbacks/trackbacks in WordPress and so far I have this: add_action( ‘pre_ping’, ‘disable_pingback’ ); function disable_pingback( &$links ) { foreach ( $links as $l => $link ) { if ( 0 === strpos( $link, get_option( ‘home’ ) ) ) { unset( $links[ $l ] ); } } } However when I open up the page options and enable discussion, I still see this: I found this answer (method 2), but it is over 5 years old now and I wasn’t sure if totally…

Conditional fields in contact form 7 not working

In my contact form I need a drop down for order quantities. On selection of « other », I want to display a number field for input. Below is my code but it’s not working. Can anyone help? Thanks in advance. <script language= »javascript » type= »text/javascript »> document.getElementById(« OrderQuantity »).addEventListener(« change », displayNumberField); function displayNumberField() { var dropDownText = document.getElementById(« OrderQuantity »).value; if (dropDownText == « Other ») { document.getElementById(« EnterOtherQuantity »).style.display = ‘block’; } else { document.getElementById(« EnterOtherQuantity »).style.display = ‘none’; } } </script> <label> Order Quantity [select* drop-down-menu id=OrderQuantity « Select Quantity » « 10 » « 20 » « 30 » « 40 » « Other »] </label> <label id= »EnterOtherQuantity » style= »display:none; »> Please Specify Your Order Quantity…

How do I move my logo from the center to left (Pixgraphy theme)

I am trying to move my logo from the center of my page to the left side. I am using the « Pixgraphy » theme by « freesia » and it doesn’t allow me to move it in the template whenever I try to paste custom CSS code in, it wont do anything and I’m a little afraid editing directly in the .php file due to previous syntax errors Hope someone out there can help me ( ps: I am not very skilled in either CSS/HTML so I would appreciate some very simple/basic instructions…

Web Design Weekly #327

Headlines Design Systems at GitHub This post shares a brief history of how the GitHub team grew, what they have been working on, and what’s next. (medium.com) React Developer Roadmap (github.com) Sponsor Web Design Weekly and reach over 30,390 passionate designers and developers Articles Designing with Data While design instincts are still valuable, data and analytics can help you hone your product understanding and ensure your decisions satisfy stakeholders. Joanna Ngai has compiled a list of things to keep in mind as a designer working with data. (uxdesign.cc) The Holy…

why is translation not working on theme?

Background I am using the theme Rookie from Sportpress. I created a child theme. Translation files are existing, especially german in my case. WordPress is set to german language. The Problem Translation is working fine everywhere except on themes provided templates like the search results page content or pagination. Affected are the SRP title, nothing found page title and nothing found page content. They just stay in default english language. Pagination is affected too. The search form in the content of a nothing found page is translated fine. I guess…

Error: MySQL shutdown unexpectedly. XAMPP local conf running WordPress

I have a xampp configurated locally to run wordpress. I must have done something wrong when fixing some issues ‘cuz at the end, I got stuck with the following log from mysql database. 2015-11-10 15:26:56 10fc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB’s internal memory allocator. 2015-11-10 15:26:56 4348 [Note] InnoDB: Using mutexes to ref count buffer pool pages 2015-11-10 15:26:56 4348 [Note] InnoDB: The InnoDB memory heap is disabled 2015-11-10 15:26:56 4348 [Note]…