0
votes
0answers
11 views

loop is running one time

Hi guys why this loop is running one time. <?php $args=array('post_type'=> 'news'); $myposts = get_posts($args); //print '<pre>'; //print_r($myposts); //print ...
0
votes
0answers
4 views

Filter html of WordPress editor in visual mode only

1 down vote favorite I have done a lot of Googling , but have not been able to figure this out yet. I have used a function in a plugin I am creating that swaps out the file url of any image inserted ...
0
votes
0answers
7 views

Custom call to action

I am trying to develop a simple call-to-action for our marketing group. They want white papers and other information to download once someone has entered their email. My question is, is my code ...
-1
votes
0answers
6 views

Menu upload problem

i try to insert a new menu in my wordpress Woocommerce, but when i'm trying to save it i get the this message Internal Server Error The server encountered an internal error or misconfiguration and ...
0
votes
1answer
6 views

get_terms from registered taxonomies not working

In functions.php I can var_dump() taxonomies like: $taxonomies=get_taxonomies('','names'); echo '<pre>'; var_dump($taxonomies); which give me: array(7) { ["category"]=> string(8) ...
0
votes
1answer
11 views

Getting a custom field in the middle of a loop

is there a way I can get <?php the_field("do_stuff")?> to go in the middle of a multiple loop like this: <?php query_posts('cat=4&posts_per_page=5'); ?> ...
0
votes
0answers
13 views

Wordpress Apply filter in plugin causes 500 internal error

I use the plugin https://wordpress.org/plugins/show-post-in-lightbox/ to display all feautered image of every post on a page. whenver one of these images get clicked on a lightbox will appear showing ...
0
votes
0answers
6 views

get term slug from current posts's custom taxonomy

I've been searching on this topic for 1 hour but I just can't seem to figure it out! Im using this WP_Query to loop trough related posts and create clickable links: <?php $currentID = ...
0
votes
0answers
7 views

WP_EDITOR on Frontend in bootstrap modal doesnt work properly

im stacked on one problem. in my plugin, i open a bootstrap modal and inside it i want to display the defaul WP editor, called by the function wp_editor(). What i get is the textarea with buttons and ...
0
votes
0answers
9 views

ACF Getting first row from repeater field from post object in flexible content

I know the title of my question is a little confusing, so I will first explain what I am trying to do. I have a flexbile content field, where I have made a post object field which is multi select. So ...
0
votes
0answers
7 views

Show Taxonomy content

I've created a Taxonomy called Collections and also have a custom post type called products. I want to show the top 3 categories on the homepage and then when you drill down into each collection ...
0
votes
0answers
7 views

Add input fields to Wordpress search to search custom fields

I have 2 custom fields: first and last. My goal is to add 2 new input fields (first and last) to search their respectable custom field. Here's my form code in searchform.php: <form role="search" ...
0
votes
0answers
5 views

Redirect an old to new permalink not working

I have my old site permalink structure like this /%year%%monthnum%%day%-%post_id%.php since 2010 and now I decided to change server and transfer it on a new one and change the permalink on a much ...
0
votes
0answers
3 views

Extending Walker_Category class

I would like to show category images on each of my custom categories. So far I've managed to echo the image url within the walker class by adding this piece of code into the existing walker_category ...
0
votes
0answers
6 views

Adding Class and div id to wp_list_categories

I am trying to create a dropdown menu for wp header with categories and children as dropdown but cant find a solution, trying to get somethink like this <li class="Main-Cat"> <a href="Link ...
0
votes
0answers
8 views

Storing Facebook page token in the options table

I developed on few wordpress sites, the ability to publish a post or page to facebook with custom values. I am on the process of turning my code into a plugin but I want to make it the good way. I ...
0
votes
1answer
14 views

Ad line breaks in category description via enter

My client wants to ad line breaks in category description via keyboard enter. In the editor the white space is added, but it is not shown on the website. I can ad it with &nbsp; but I have to be ...
0
votes
0answers
4 views

Create subscriber account using e-junkie send generated code

Trying to use e-junkie's send generated code feature to automatically create a subscriber wordpress account for new customers. The code needs to take their information that is passed through after ...
0
votes
0answers
5 views

Redirect all users to previous URL before login, except “contributors”

In one hand I redirect all users to previous URL before login. This is the code: function login_redirect( $redirect_to, $request, $user ){ if(isset($_REQUEST['redirect_to'])){ return ...
0
votes
0answers
7 views

permalink problem in my .htaccess page

Please give me a suggestion for my question. when we set permalink in our site then the .htaccess code is RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
0
votes
0answers
8 views

Rewrite Urls + Taxonomy combination

I' am trying to rewrite my query urls to something more seo and humand friendly urls. My current state: URL: */text/?taxonomy1=term1 text/(.+?)/?$ -> ...
0
votes
0answers
10 views

How to add author nickname to post permalink urls?

How to add author nickname to post permalink urls? Like: http://mydomain.com/post-title-%nickname%
0
votes
2answers
15 views

Child Theme's Read More Text

I'm sitting here trying to figure out how to change the Read More text. I'm currently creating a Child Theme of Oxygen and as far as I can tell, they don't have a function to easily change it. I want ...
0
votes
0answers
9 views

Stuck in a Redirect Loop

My Wordpress site is stuck in a redirect loop and I can't now access it. I recently purchased an SSL certificate which my site host says is installed correctly and points to the correct place. I ...
0
votes
0answers
6 views

Auto-build First Instance of Menu from Page Structure

I am wondering if there is a way to build a custom menu that is initially populated by the current page structure. I am working on a site that was initially build pre-custom menus, but now we want to ...
0
votes
0answers
4 views

Change wp-admin and wp-login.php url in wordpress multisite

I have setup wordpress multisite and now I want to change the login URL /wp-admin and /wp-login.php to /login. Similarly for the sub-directories http://test.com/site1/login. I tried few plugins but ...
-1
votes
0answers
8 views

How to make the client validate a template from a marketplace? [on hold]

I try to improve my Wordpress Development process. My job basically is to chose the best premium template, then all the plugins that will fulfill the client's requirements, then implement all this on ...
0
votes
0answers
12 views

Display date as dd/mm/yyyy

I have an error reading date format in Outlook from Wordpress. I have function that gets data from post and put it in Outlook calendar. The function is: function get_ical() { global $post; ...
0
votes
0answers
15 views

loging to Admin page not working at all

I'm trying to log-in to the admin page of my website without any luck, only i got white page, hers what i did to identify the problem: I have enabled the Debugging in wp-config.php // Enable ...
-1
votes
0answers
8 views

Woocommerce: Hide specific variations on email notification [on hold]

I need to hide a specific variation on order emails to customer: // Variation if ( $item_meta->meta ) { echo '<br/><small>' . nl2br( $item_meta->display( true, true ) ) . ...
-1
votes
0answers
7 views

How to display tool tip error messages within the related text boxes in the contact-form-7? [on hold]

I want to display the validation error messages within the related input field of contact form-7 of WordPress. How it would be possible? Thanks,
-2
votes
0answers
7 views

Plupload: frontend media upload

I want to allow non registered guest uploading all kind of media to my wordpress blog. Therefore I tried several different plugins but non of them have all the required features. NextGEN Gallery ...
2
votes
0answers
16 views

Display (and manage) webcam images?

I have a webcam that write every minutes or so, an image to an ftp folder on the server where WP is installed. My question is how to get the last image displayed on page, with refresh every 60 second, ...
-1
votes
0answers
12 views

WooCommerce - IF statement inside function? [on hold]

I am trying to show specific HTML when WooCommerce conditionals are used. This works great, but the issue is when the plugin is de-activated. I get an undefined index - is_cart I have tried to use ...
0
votes
0answers
11 views

How to add validation / error message while add/edit custom post

I am trying to add error message on custom field in custom post save action But my validation not working. Check my code below. add_action( 'save_post', 'save_event_meta_data' ); function ...
0
votes
0answers
6 views

Archive a subdomain under the main domain

We have a primary domain. Each year, we create a wp-installation under a subdomain with a city title. For example the primary domain is x.com. We then create a subdomain a x.com/NY which may use a ...
0
votes
1answer
7 views

How to define Og Meta Tags in header using conditions

I'm trying to configure my Facebook Og meta tags in my header so I get a different result on the type of page I want. I've been hitting some road block that searching through google haven't been able ...
0
votes
1answer
14 views

special character “-” is not properly displayed in json response?

I want to display - instead of that characters. How can i get it? Actually i tried with the below code: header('Content-type: application/json; charset=utf-8'); // Even i insert the charset=utf-8 ...
0
votes
0answers
7 views

Site Stats Transfer

My client wants to transfer the site stats of the old site to the new site. Is this possible? I've managed to find questions related to this but with no answer. I hope someone could help. Thanks!
0
votes
0answers
12 views

Need Advice on Subdomain Multi-Blog

I want to create two series of blogs on two subdomains (on two unique websites). Alternative, I could create ONE blog on each subdomain, with each block having separate sections or channels that ...
-4
votes
0answers
12 views

Fluid Responsive Slideshow Plugin - is the button not responsive at all? I tried everything [on hold]

I tried making the button responsive but it just disappears whenever it's in mobile width. Also the text box is not floated to the left when i minimize it. But my main concern right now is with the ...
0
votes
0answers
9 views

How do I find out the JetPack Photon URL for a given photo [on hold]

I love the idea of this feature, but how do I find out the actual URL of the image file on the WordPress CDN? Is this something I can access through the Dashboard somewhere?
0
votes
1answer
12 views

shortcode issue in the_excerpt

I had this custom shortcode working but it seems to have stopped. I had the code running through another shortcode that ran the loop for category posts. I have since improved the code so that it works ...
-1
votes
0answers
10 views

WooCommerce Conditionally add text below price on Products [on hold]

Trying to set a custom text message below a WooCommerce product, using the woocommerce_get_price_html filter with a conditional to ceratin products in an array - but it is applying the $addedtext ...
-1
votes
0answers
9 views

Plugin to display posts of a specific category, similar to a blog [on hold]

I am creating a magazine style template for WordPress and it has a few different sections displaying a few posts of each category. Kind of like this template: http://gazette.seoresearch.com/ . Is ...
0
votes
0answers
11 views

Can't connect to blog with Windows Live Writer

Until recently I was able to use Windows Live Writer to write my blog posts. A few days ago I had to reinstall my computer. I also reinstalled WLW and tried to reconfigure my blog, but I got this ...
-2
votes
0answers
7 views

Wooslider Overlapping Sidebar on First Frame [on hold]

Doing some design edits on my friend's website and the first slider is overlapping the page content and sidebar. When the additional slides pops up, it goes back to normal. Can anyone offer me some ...
0
votes
0answers
7 views

Changing link output of posts

I'm using the X theme & there is a load-content.php file that uses a function to show recent posts & portfolio items. The code is below; I'm trying to make all links go to a specific page ...
0
votes
0answers
9 views

Custom taxonomy URL throwing 404

I have a site that I inherited. It uses a custom post type(products) with a custom taxonomy(product_categories). http://430designs.com/sisco/our-products/ If you go to the page, I am printing out ...
1
vote
1answer
9 views

How to modify a taxonomy that's already registered

Today I needed to change the arguments on a custom taxonomy that was already registered by a third party plugin. Specifically I wanted to set the show_admin_column argument to true and change the ...

15 30 50 per page