0
votes
0answers
4 views

Is_template how to add one more template

I have wordpress theme which is adding some scripts and css trought functions php. I want to add one more template file , but don't know how. Any ideas? This is what I have. Will be happy for any ...
0
votes
1answer
15 views

Reduce font size

I need your assistance regarding my problem. In fact, I've tried to change the slider's font size on my website : http://compil2rai.com/ on the style.css file, but the changes are not taken in ...
0
votes
0answers
7 views

Admin menu display issue

I just downloaded the latest version of Wordpress (v4.3) and when installing it I didn't get any error. But I'm getting some wierd issue - the admin menu "breaks". I turned on the WP_DEBUG in ...
0
votes
0answers
4 views

ACF gallery hook?

When updating a gallery with a new image or deleting an image, is there a hook which gets called? With a standard image field there's add_filter('acf/update_value/type=image', 'my_acf_update_value', ...
-1
votes
0answers
5 views

How to force woocommerce to have same price for all countries?

I am creating a shop and I am using woo-commerce and I want to have same price for all country users . currently,when user selects a country ,product price changes ,I have set US dollar as default and ...
0
votes
2answers
5 views

How to remove duplicate sub-menu name for top level menu items in a plugin?

I have written a custom plugin for wordpress. Once I add a sub-menu to the plugin I get a double entry for the top level item: I would like to disable the second "TopLevel" menu item so it would ...
0
votes
0answers
6 views

can i disable cache plugin in shabbat?

I created a plugin called wp-shabbat, its checks the user ip location and calculate if it shabbat time, if so the plugin creates on the fly page that presents user time to come back and with 503 ...
0
votes
0answers
7 views

Creating custom Menu for custom theme

I want to create a custom menu for my theme. The default menu architecture created by wordpress wp_nav_menu() function is made by <ul> <li> tags. But my custom Menu architecture is: ...
0
votes
0answers
8 views

Custom Javascript not working?

Basically I want the effect to look as it does here But mine won't do the effect I currently have a button but it won't activate the effect for the menu to pop open. site that I'm using to test it ...
0
votes
0answers
8 views

modify admin panel all post to show date time

Hey I want to Know how can I modify admin panel all post to show date and time instead of only date. Published post will have published date and time and scheduled post will have scheduled date and ...
0
votes
0answers
12 views

Only Wordpress <wordpress@mydomain.com> is working

My WordPress website sends email only if I do not change default WordPress username and email address. I do not able to recognize where is the problem. As we know default is: Wordpress ...
0
votes
1answer
24 views

How can draft post after 1 year

I need to do this in my post in custom post type, I need when to day publish new post. After 1 year from today convert post status from publish to draft. How can do that ?
-2
votes
0answers
19 views

Want to move WordPress custom post type in our plugin tab

I want to move my custom post type add, edit, trash etc to my custom tab menu. The give screen shot is me custom post type page I want to move. I have see this thing in one plugin which screen shot ...
0
votes
2answers
7 views

WordPress root directory change + Theme directory change

I'd like to create the following structure for my WP installation: htdocs (base dir) wp (WordPress dir) themes (WordPress theme dir) plugins (WordPress plugin dir) upload index.php .htaccess So ...
0
votes
0answers
11 views

Passing form data via AJAX to REST API And displaying results

I'm new to WordPress but have been programming PHP for a long time... I searched a bunch of questions but couldn't find what I need. I have a page with a search form that contains a few parameters ...
2
votes
0answers
13 views

How to add new embed handler not supported by oembed

I am looking to embed videos from websites that do not offer oembed support, but the reference offered on wp codex about wp_embed_register_handler() is just too broad for someone like me. I tried ...
0
votes
0answers
6 views

How can I move the Woocommerce Sort button to a widget in the Shop Sidebar?

How can I move the Woocommerce Sort button to a widget in the Shop Sidebar? I don't see any options to do this even within plugins, which is confusing to me. It seems a great place to have it - above ...
0
votes
0answers
8 views

How do I get all the code in the woocommerce archive product template into a single line of code or single function?

I am trying to use the Pay Per View plugin by WPMUDEV. I have spoken with their support team about how to protect the category archive loop with a pay per view system. The trouble is that their pay ...
0
votes
1answer
11 views

Echo out custom fields in comments

I am trying to figure out how to echo 4 created fields from a plugin in my theme template for the comment form and customize the comments output as well. The plugin I am using lets me add custom ...
0
votes
1answer
13 views

php if, else & custom fields - syntax error

I'm just starting to use custom fields and would like to use it to display an author box with (1) author photo (2) author name (3) author bio. I use this code in loop-single.php and it works fine: ...
0
votes
0answers
3 views

Homepage is indexed in Google with a different page title! [migrated]

I'm having the latest WordPress and it's been long that I'm seeing my website's front page is being indexed with a different page title that I'm setting everywhere, at Settings->General->Site Title, ...
0
votes
3answers
11 views

How can I Update my Theme

I Just want to know how can I update my Wordpress theme manually on live site. Actually I am using plugin called "WP Total Cache" My entire website styles is messed up when I try to update wordpress ...
0
votes
1answer
9 views

Get URLs for All Sizes of Image via Admin Panel

We want to use wordpress to host image which we'll use in our email newsletter. To that end, we can obviously upload the image via the Media panel in Admin and either right-click the image and get ...
0
votes
1answer
3 views

Categories dropdown with all values selected using wp_dropdown_categories

I'm using this code to get a dropdown list of categories, but all options are marked as selected. Therefore, the last option is the one that is displayed as selected by default. <?php ...
0
votes
0answers
7 views

Adding custom image size to the media image editor

I'm trying to give a more complete experience to my WordPress backend users and let them edit the custom image sizes I have added to my theme. I added this to my functions.php: add_image_size( ...
0
votes
0answers
9 views

How to sanitize_callback for font-family in wordpress?

At this point some options for building a Wordpress theme and I reached the point where you have to add the Customizer API function of choosing a font-family.I must have a function for ...
0
votes
0answers
14 views

Visual Editor freezing on text highlight since 4.3

Ever since I updated my website to 4.3 my visual editor is freezing every time I try to highlight a piece of text, or even place my cursor someplace random. This only seems to be happening on the text ...
-3
votes
0answers
8 views

how to add required field woocommerce

i want user to upload an image before checkout i want to add upload file in cart page it must be required he cant continue to the checkout page before he uploaded when i put the code in edit ...
0
votes
0answers
7 views

How to get the categories from Related Posts using “Posts to Posts” plugin

Sorry if this has been answered elsewhere — if it has, I have been unable find the answer — or if this seems like a basic question. But I am trying to use the Related Posts functionality built into ...
-1
votes
0answers
8 views

Embed button for post screen

i would really appreciate it if someone could help me change the "add media" button on the post screen, and make it rather go straight to "insert from url" so that my users embed a link without ...
0
votes
0answers
9 views

Custom menu item with tabs on media upload

I've been adding an extra link for inserting media in a post. The following url shows a sample code what I've used so far: https://gist.github.com/Fab1en/4586865 This is the result: But how do I ...
0
votes
0answers
11 views

Unable to get User Avatar

I am new to WordPress and developing a theme for a blog with bootstrap integration. I have downloaded a plugin WP User Avatar to show authors avatar with their posts and as its documentation states I ...
0
votes
0answers
8 views

Admin sidebar items overlapping in admin panel

Before to report this to wordpress I would like to know if it's just me or it's actually a bug. I noticed also another user that asked on the wordpress forum but he hadn't an answer for that: ...
0
votes
0answers
6 views

Custom redirect pages with out URL in content post

Please help me, For example, my web link is abc.com and I have an article, and in article 2 link is abc.com/att/file.zip (this is the blog link attachments) and a joint the other loads is ...
0
votes
1answer
12 views

My custom page template with is_user_logged_in() does not detect that I'm logged in

I have a custom page template that looks like this: <?php if( is_user_logged_in() ): ?> <?php get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php ...
0
votes
0answers
11 views

Why is there no Screenshots and a wrong version?

Hope you can help me! On my wordpress plugin https://wordpress.org/plugins/bettor is a wrong version number on the download button. It says 0.1 but the version is 0.2.0. Where can I change this? And ...
0
votes
1answer
14 views

Featured images not showing up

I´m having a strange issue with featured images. Here´s what I did: Added theme support for featured images with add_theme_support( 'post-thumbnails' ); Attached a featured image to each post ...
0
votes
0answers
10 views

Re-layouting the “Settings Menu” in “Add a New Post” page

Just asking a quick question here to see if anyone can help me out with this issue. I am building a blog website, but the "Add a new Post" page menu to select publish, categories etc default layout ...
0
votes
0answers
10 views

how to add a menu page with elements?

I have this example plugin for creating a page in the admin panel: add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'custom ...
0
votes
0answers
5 views

Category-dependent custom permalink

My website uses a custom permalink structure of the type: /blog/%year%/%monthnum%/%day%/%postname%/ Now, I created a new post category, which needs to have the permalink: /guide/%postname%/ In ...
0
votes
2answers
11 views

Load stylesheet on custom admin submenu page

I'm trying to load a stylesheet for a particular admin submenu page. The code below is what I came up with after looking up admin_enqueue_scripts in the codex: function my_function($hook) { if ( ...
1
vote
1answer
17 views

Define Function in functions.php or plugin and call in theme loop

I need to define a function in functions.php or a plugin and be able to call it inside the theme's loop & outside. Example; I have a $product_price = get_post_meta(get_the_ID(), 'product-price', ...
0
votes
1answer
8 views

Moving a local installation to the server - settings not working on server?

I moved my local Wordpress to the server and some of the theme settings as well as settings I made for plugins locally are not working on the server. This is what I did: Uploaded the local code ...
0
votes
0answers
7 views

“Costumize posts and pages” (price, nembres of rooms..)

Im the admin's (owner) website in the tourisme category, I want to make pages or posts with hotels, restaurant listings (list for hotels), each post in the list width some information (small ...
0
votes
0answers
15 views

change position of wp pointers in WordPress plugins

I am trying to locate the documentation of WP Pointers but there is none. I want to make the announcements readable in my plugin and want to give css values by my own choice but not sure how I can set ...
0
votes
0answers
12 views

Trouble with Dynamic Input on Widget, Unable to get Widget ID

I'm trying to create Widget with dynamic input as the widget options. The Option fields are Feature (text), Price (text), and Picture (Text with upload button). For some reason, I couldn't get the ...
0
votes
0answers
9 views

Display Post Image Wrapped in Div, Inside Link Tag

So I'm trying to wrap media images published in a post into a custom div, that is also wrapped in a link tag that has the permalink of the media image as it's href. Here's the filter that I've made so ...
0
votes
1answer
13 views

Why would media_sideload_image() not work locally?

I designed a theme for a client that sideloads an image returned from an API. It has always worked and it's still working on their live website. My staging environment used to be a separate account ...
0
votes
0answers
19 views

update object options on option form

I have an object on an option called 'option_voc'. Now I would like to update only one field of this object through form i created on menu page i created (The plugin's settings page). I do not find ...
0
votes
0answers
10 views

500 Internal Error appears after adding the codes in .htaccess file

The issue is: I have a Wordpress site running on 4.3 and using the theme from Envato Market (POND v2.0). And I ran a SEO test using this website (SEO Checkup Test). After going through the tips on ...

15 30 50 per page