0
votes
1answer
30 views

Shortcode doesn't display in custom post type

I created a custom post type, but when i have added a shortcode for a slider it doesn't show the slider it shows just shortcode in text. and when i change get_the_content by the_content, it shows me ...
1
vote
1answer
10 views

conditional statement based on terms

I was wondering if someone could help me out. I have created a custom query to retrieve in a custom single.php to retrieve posts which have the same custom taxonomy term and display them. here is the ...
1
vote
1answer
28 views

Why does my <Style> dissappear?

Why does my style-tag disappear, in both my free site and my localhost site? Where do I find the Wordpress guidelines that specify what can-not be done. Example, where do I find: "Wordpress does not ...
0
votes
1answer
22 views

Wordpress installed in root, need second in subdirectory with different domain

God, this little problem drives me crazy and I really hope that you'll help me how to figure it out. I searched over all previous threads and in the codex of wordpress, I find some close situations ...
0
votes
1answer
15 views

Link to date_query results in Wordpress

I have this line of code: $args = array( 'date_query' => array( array( 'after' => 'January 1st, 2015', 'before' => 'February 15th, 2015', ...
0
votes
1answer
20 views

How to refer to a Wordpress hosted free posting website vs a fully functional WP paid website with pages? [on hold]

What is the naming convention for the free Wordpress hosted site (like xyz.wordpress.com) vs a hosted site that is self hosted on own own machine or paid to be hosted on a 3rd party site like ...
0
votes
0answers
14 views

Custom “wp_login.php?action=lostpassword” and reset password

I've got a custom registration form which works. Then, on this form, I have the "forget password" link. This one is not working very well. The "forget password" form is OK with its design; enter a ...
0
votes
0answers
7 views

Save_post action hook using the add_settings_error function leads the “cannot modify header…” warning

I am fiddling on that for quite a while. I've asked a similar question already over here. Since then i've dropped according to recommendation the transition_post_status action hook as well as the ...
0
votes
1answer
32 views

Call header and footer on login page

Is there a way to call theme header and footer on the default login/register page? I understand that we can easily make a custom login page still asking. Thanks
0
votes
1answer
12 views

How to change default width parameter of embedded video in wordpress?

I am using embedded video short code of Wordpress for showing video in the content of a post [embed width="600" height="456"]https://www.youtube.com/watch?v=f5CcOq8UzkI[/embed]. and the rendered ...
0
votes
0answers
9 views

JSON API Comment Submit Responde in How to retrive avatar [on hold]

Json api When i have post a comment using json api how to get user avatar in responce. Where to change may code. Post data using Url: ...
0
votes
1answer
22 views

How to create TEMPLATES for TAXONOMIES? What I have to change in this code?

I've created custom post type and it's taxonomies. The code is: add_action( 'init', 'register_cpt_portfolio' ); function register_cpt_portfolio() { $labels = array( 'name' => _x( ...
-2
votes
0answers
14 views

plugin to be able to block users who post bad comments [on hold]

is there any plugin or other built in methods in wordpress so that it will block the users automatically who is posting bad/vulgar comments. http://linuxgurus.org/ is there any plugins for checking ...
0
votes
1answer
16 views

how to Serve scaled images

i have this error in the speed test serve scaled images The following images are resized in HTML or CSS. Serving scaled images could save 547.0KiB (81% reduction). i tried many plugins as i am not ...
0
votes
0answers
10 views

Fade In/Out Header Isn't Working in Wordpress [duplicate]

The following code works in an HTML file, but doesn't work when I put it into Wordpress, so I'm assuming I'm doing something wrong according to the Wordpress framework. Here's my Code: ...
0
votes
1answer
10 views

Remove Url from Tag

I've google searched and i cant seem to find what i hope to achieve. I'm trying to display the tags without the hyperlink, that is this: <a href="blalblalba.com/tag/tagname/">tagname</a> ...
0
votes
0answers
16 views

Can connect to db normally but I can't select, Access Denied

I have a problem that happened in my website and I don't know how to fix it some data are disappeared and when I debug I find this error WordPress database error: [Access denied for user ...
-3
votes
1answer
34 views

Excerpt length and alignment

I want excerpt to be appear in paragraph, atleast 400 words and words should not be cut at end. This is my website and it should be align left. i want excerpt like single post style. And i dont want ...
0
votes
1answer
21 views

Does WordPress refer to any files outside of the main install folder (and database)?

Meaning, if I install WordPress in the /wp folder... would any files in the main root of the domain folder "/" be accessed, or any other folder outside of the /wp folder for that matter? Meaning, are ...
0
votes
0answers
12 views

Getting saved value directly after saving theme options [on hold]

For a theme that I'm making I'm using the options framework Options Framework and am trying to use a saved option directly when it's being saved. Right now I have the following code in my ...
0
votes
1answer
10 views

Modify arguments for parent theme's `wp_register_style` via child theme

Working on a child theme for site with a good deal of separate stylesheets being registered/enqueued from the theme and plugins. I'd like to change some attributes of the <link> tags in the ...
0
votes
0answers
17 views

is_email() function Not Validating within Foreach Loop

Developing a plugin that register's WP users with a CSV upload. In the validation process of email, I'm using the is_email() function, but it's returning the opposite of what's expected. All the ...
0
votes
2answers
11 views

Mobile Menu Not Showing

I am using the latest version of wordpress with the responsive 2015 theme. The drop down menu doesnt show on mobile - or when the browser window is very small. Its the drop down menu that is three ...
-1
votes
0answers
13 views

Recommend an image plugin to over one image on another [on hold]

I am looking for a Wordpress plugin that will allow users to upload a photo and view it behind another photo. My dad is selling art and we want to show customers what the artwork would look like on ...
-1
votes
1answer
22 views

Nice font not working when http to https - SSL Issue

I have two questions here about SSL actually. This is my very first time using ssl for website. 1st question: I have recently purchased an ssl for my websites. I have a nice font for my website which ...
0
votes
0answers
16 views

WordPress Multisite on IIS 8.5 - options.php not found on save changes

I've just installed a fresh WordPress on IIS 8.5 and configured it to work with sub-directories. On the primary site everything works fine, but... The problem occurs on the sub-sites that are created ...
0
votes
2answers
20 views

How to get images only attached from edit post page

I have developed a custom wordpress panel with a custom front-end recently. In single post pages there is a slider. I display the result of get_attached_media( 'image' ) function as the images of ...
0
votes
1answer
16 views

Migration to staging server, pages from other site loading in

I'm not really sure how this could happen, but i migrated a wordpress site to a staging server where i have many wordpress sites hosted, everything seemed to go smooth with the exception that all ...
-1
votes
0answers
14 views

woocommerce choose quantity for color in simple product [on hold]

I need to give to user the possibility to choose quantity for color. The total quantity is updated and after the product add to cart. an example forms:(the quantity is a multiple of 10 for istance) ...
0
votes
0answers
23 views

How can I add User Avatar to top left of body-text? [on hold]

I have been looking through the various WP Plugins and carrying out several Google searches to try and find an answer to this question. I am using CPT (custom post types) along with multiple users ...
0
votes
3answers
8 views

Get next/prev image/attachment in time with date query

I have a big amount of images in WP, that are not attach to any post. They are grouped in custom taxonomies (ignored in code below). The images get uploaded to WP in random order and the post_date is ...
0
votes
0answers
12 views

Advanced Custom Fields Plugin on multiple checkbox retrieve not checked [on hold]

I want retrieve not checked data. Here is my idea <?php $values = get_field('room_features'); if($values) { foreach($values as $value) { echo '<li ...
0
votes
0answers
5 views

Image File permissions issue on Windows Server IIS

We are using Wordpress on a Windows Server with IIS, When an image is uploaded I get several image files depending upon the size of the original. One of these files has the same name as the original ...
0
votes
0answers
11 views

How can I set and use a cookie on page load?

So I can set a cookie using the below code, and use the cookie I have created when the page gets refreshed problem is I need to set the cookie and use the cookie when the user first loads the sites. ...
0
votes
0answers
15 views

.htaccess duplicating its content? [on hold]

why when I post something on my blog after a short time my .htaccess file gets crazy? Is it due to some plugin? It breaks my site and .htaccess file contains A LOT of copies of this: # BEGIN ...
0
votes
2answers
20 views

Is it possible to wp_redirect() to a new tab?

Is it at all possible to set up wp_redirect() so that it redirects to a new browser tab? If so, how can it be done?
0
votes
1answer
14 views

Conditional statements in wordpress themes

I have the following code at the start of my single.php loop that displays the post featured image as a background. <?php $featured_background = wp_get_attachment_image_src( ...
0
votes
1answer
14 views

String taken from database table post_meta is showing HTML tags on Frontend

I have saved a string in post_meta table in wordpress database with html entities like- <p>Hello <b>Shashank</b>, I have an idea.</p> When I get this string on frontend using ...
-3
votes
0answers
21 views

Submit a form without keyboard input, addition with the help of button [on hold]

I am new to WordPress. I want to create sales status website, something like this... < - button>Item 1< + button> < - button>Item 2< + button> < - button>Item 3< + button> < - ...
-1
votes
0answers
16 views

I can't use nth-child on pair divs [on hold]

i'm trying put pair divs with float:right but don't work. Only work with li??? I need put < div class="portfolio-entry-media" > only pairs (2, 4, 6...) with float right. Is this possible? thanks! ...
2
votes
1answer
29 views

wp_get_attachment_image_src and server path

wp_get_attachment_image_src will give me URL and dimensions for an image. But is there any way to get the server path for a scaled image (like ...
0
votes
0answers
8 views

Wordpress Home page issue [on hold]

At this point, I can only do changes to my home page at tomwitek.com by doing changes directly to html and uploading it to my server directly. My static page is set in the Reading to Home which was a ...
0
votes
1answer
12 views

Is possible to add post-formats to custom-post-type?

I was wondering if there is some way to put together the custom-post-types and post-formats so I can code a new post type and offer some variations as post-formats. I'm involved in a company ...
0
votes
0answers
16 views

Category specific year archive list with desired URL

I am trying to make category specific year archive list. I tried wp_get_archives() with type=yearly arg in which I got year lists with links. 2015 2014 ... and its link looked like this... ...
0
votes
0answers
11 views

How can I integrate a lightweight payment process in my wordpress site? ¿WPe-Commerce? [on hold]

I am on a wordpress website that is not a shop, the website offers information in maps. The issue is that the website offers a service of creating legal contracts. The logic is that a registered user ...
-1
votes
0answers
24 views

Dynamically send pdf attached to post with contact form 7 [2] [on hold]

I'm come from this post : contact form 7 So i do the same exact code : add_action('wpcf7_before_send_mail', 'my_dynamic_attachments'); function my_dynamic_attachments($cf7) { $id = ...
-2
votes
1answer
30 views

Failed to send your message. Please try later or contact the administrator by another method (contact form 7 ) [on hold]

i am new to wordpress . i am facing problem with contact us form. where will be the setting like SMTP or php mail for contact us form (i am using contact form 7 plugin . also i installed wp-smtp. ) i ...
0
votes
0answers
18 views

Duplicate slugs in wp Database [on hold]

While updating a category I keep getting "Item not updated" message, after a little research I found that it is due to duplicate slugs in the database. I know a slug cannot be duplicated, so now I am ...
0
votes
2answers
21 views

how do i make this loop work

Apologies I am a PHp beginner and I have no idea why this loop is not working on my tag.php page any help would be welcome. <?php get_header(); ?> <div class="posts"><!-- BLOG --> ...
1
vote
1answer
25 views

How do I change attachment slug from name to id

I need to change the slug of the attachment post. Currently, it is showing attachment name , I want it to be replaced by id of attachment. Edit : Thanks to suggestion by TheDeadMedic, I am now ...

15 30 50 per page