php, wordpress, css3, class
Changing a next/previous link to display post title So I am currently working on my personal site and have started to use a timeline. There are next/previous buttons in the post, but I want them to display the post title instead of Next/Previous. I …
|
|||
require in functions.php in local wordpress not working I’m working on a wordpress theme locally using MAMP on Mac. It seems to be giving me a 500 error no matter what line I try. I’m trying to require the /inc/customizer.php in the functions.php file. …
|
|||
WordPress menu is not showing on the search results page My WordPress menus are not showing up on the search results page. I am registering the locations like: register_nav_menus( array( ‘primary’ => ‘Primary Menu’, ) ); And calling the menu …
|
|||
Website is incomplete and white We have backuped and than cancelled the folder “wp-content” from the program Viper FTP Lite. When we uploaded the “wp-content” (the backup one) folder to the website it get a white page. Than we have …
|
|||
Get postmeta of last order, increase it by 1 and add to new order I’m working with extra postmeta – invoice number for orders which use bacs as a payment method. I have added a invoice number to orders in Woocommerce by using this: global $wpdb; $orders = …
|
|||
i must upgrade my plugin but my programing skills i still is so bad. I have small plugin which after the implementation add to my register form information about accept Term and Condition and when …
|
|||
Display date by increasing 2 days from current date I want to create a shortcode to display the date by increasing 2 days from the current date. For example, if today is 16 may, I want to show 18 may by shortcode. Please help me with this.
|
|||
Changing WordPress http to https behind a Load Balancer with ProxyPass I run a WordPress behind a other (main) webserver. The main Server does have a rule to redirect all requests to /wpa to the WordPress Server with a ProxyPass ProxyPass /wpa/ …
|
|||
How to Automatically Remove Default Video Links in WordPress I am looking for the user to redirect to the home page when the user tries to access the video permalink. function wpb_imagelink_setup() { $image_set = get_option( ‘image_default_link_type’ ); if …
|
|||
Regular Expression to fix broken URL’s in Nginx On my previous server that ran apache I had some htaccess rules that helped forward a certain pattern of URL’s which were giving 404’s to the fixed pattern. Long time ago my URLS for my site were …
|
|||
Display specific WordPress category on custom page with ajax I’d like to display first 5 posts from category with name ‘press’, with ‘load more’ button. I can only show a specific number of posts per page. I want to make an Ajax call to load rest. I never …
|
|||
I am having an issue with image caching I believe. Not 100% sure thats the issue, but perhaps someone with greater expertise could assist. In my wordpress site, I have some images that were uploaded …
|
|||
Changing the content of a div if a link is clicked Ok, so I have a page with four links on it. Now rather than having the links link to a separate page I would like to stay on the same page but swap the contents of a div on this page, as it is the …
|
|||
How do I display content of a post to a page on click, wordpress Hi this is what I’m trying to do. I have a page, and on that page is a div with a list of posts in it and when I click one of those posts, I would like to display the content of that post, in a …
|
|||
WordPress change li class name without walker? Is there any possible way in wordpress to change the class of “li” to wp_nav_menu() without using Walker? ‘sub-menu’ => ‘dropdown’, I tried something like this but it didn’t work: <?php $args …
|
|||
Restricting Subscribers from editing profile upon login I am currently using WordPress 4.7.3 and installed the plugins below: 1) CIMY User Extra Fields 2) Theme My Login I have configured extra fields for Subscribers with plugin (1) and managed to …
|
|||
WordPress – Javascript function with different parameters based on page info/taxonomy? Site is running on WordPress, using a child theme with custom taxonomies & template files. I’m currently embedding a Google Maps box (with a custom overlay generated via third-party API) on each …
|
|||
update field once across wordpress multisite We have a WP multisite setup, we’ll say 25 sites under one umbrella. They all run off the same theme options in terms of copyright dates and footer titles etc. If we wanted to update the same field …
|
|||
wp_cron() not updating time from options page I’m working in a simple plugin that initiates a wp_cron job. I have an options page with a field (daily_message_time) where I enter my desired time to schedule the cron, say 17:30:00 for example, and …
|
|||
JS error in console log in WordPress site but not in html site I get this error message in the console log: Uncaught TypeError: $ is not a function It references the following line: $(‘.bericht’).append(
|