All Questions
323 questions
0
votes
0
answers
40
views
Trying to add a new feature in my wordpress website
I have a website called NearFile. Here is the link: https://nearfile.com/. It is a software downloading website created on WordPress. On every software page I have added a sidebar called "Other ...
0
votes
1
answer
548
views
posts from multiple post types in one slider
i am creating a carousel using WP Bakery Page Builder which should show posts from two different post types (one is custom). Is there any plugin to get a workaround, or perhaps any suggestion?
0
votes
0
answers
17
views
Powerpress upload a podcast without creating a post for it
Hi Im trying to upload a podcast using PowerPress but without creating a post for it on website as the podcast will be listened to using podcast.player. I don't mind creating the page as private but I ...
0
votes
1
answer
991
views
automatically set random featured image by category in wordpress on post
Basically I want to automatically set an image randomly from a selection of about 3 or 4 images in my Media Library when someone posts a blog from a particular category.
I've got this so far but it ...
1
vote
0
answers
12
views
Display by Category in Admin
I run a website that has different online courses. Each course is a post. Each category is a state in which the course is approved. The states change every few months. I am given a document that lists ...
1
vote
1
answer
65
views
Accessing post's meta data based on user's click of a post
I am displaying a gallery of custom post types. When the user clicks a post, instead of redirecting to a single template, I want it to redirect to another page (too easy just change the link since all ...
1
vote
0
answers
1k
views
add tags to wordpress post using REST API
I'm new to WordPress programming and I'm trying to connect to WordPress REST API and send a new post with content and many tags.
I can connect to API and send a new post but I can't add tags to those ...
-1
votes
1
answer
324
views
Static page with formatted post list
I'd be surprised if this doesn't get asked a lot, but I did a quick search and couldn't find an answer so...
I have a couple of Wordpress sites and in both cases I really want to have pages comprised ...
3
votes
2
answers
548
views
How To Ignore a Filter On Applying Filter the Content In a Function
I am having a filter for the content that adds a Table of Contents at the top of my posts. I took the basic idea from an answer at Stack Exchange itself.
I add the filter as follows:
add_filter('...
0
votes
1
answer
300
views
How to display the featured post on the category page?
I have created a feature post check box on the post page. Now what I am doing is if any user-selected that checkbox then I have to show that post on the category page. I tried below code but it's not ...
-1
votes
1
answer
634
views
Next and Previous Pagination button not displaying in WordPress
I have more than 15 posts and I am displaying only 6 per page load and remaining will display after the click on the pagination but the issue is I am not getting my pagination.
I am using below code
...
-1
votes
1
answer
82
views
Dynamic HTML not displaying at respective place
Dynamic HTML not displaying at respective place
I have a created shortcode in function.php and my code is,
function Post_home(){
$data='<div class="cp-seeWrapper"><div class="container">&...
0
votes
1
answer
148
views
Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
My question is -
Is it possible to customize a wordpress post without using wp-admin dashboard?
If so, how do I need to generate url for the post?
How to submit the data which is edited through the ...
1
vote
0
answers
107
views
Preg Match All doesn't Allow echo first character for Wordpress Taxonomy Tags
I have been working on a code, that finds particular words from my content and converts them to wordpress Taxonomy Tags. I want to prefix them with a '#' symbol... But somehow it doesn't work
This is ...
0
votes
2
answers
2k
views
Set Multiple Meta Values as an Array Using dispatch( 'core/editor' ).editPost() Call in Gutenberg/JS
I'm attempting to store both an Image's URL and ID in a post's meta field via a Gutenberg component, but am having trouble figuring out how to store those multiple values in an array.
I can store a ...
0
votes
1
answer
609
views
Prefix Wordpress Taxonomy Tags With Hashtag Symbol Like Twitter
How can I add a hashtag symbol before each tag in my WordPress website? My intent is that WordPress tags like 'Apple' should get converted to #Apple'
I am the owner/developer of the site https://...
0
votes
1
answer
240
views
Import Instagram post to Wordpress blog post
I'm looking for a way how I can import an Instagram post to a Wordpress post.
So to make it clear: I'm NOT looking for a Instagram Feed plugin. I need to import an Instagram post to a Wordpress blog ...
0
votes
1
answer
120
views
Pagination (including title of each page) in a post for a long posts
I currently have pagination on my website for long posts. I have split the post into several pages.
But it only displays the page number with navigation arrows, but not a title for each page in a ...
1
vote
1
answer
186
views
How to allow an editor to edit all WordPress blog posts but have the last say as administrator?
I run a simple WordPress setup hosted on SiteGround with no staging area and no special roles. The blog grew so much over the last few years that I barely write any content anymore.
I send a content ...
0
votes
1
answer
41
views
How to make a page both “private” and “password protected”
I’m working on a website which requires these two type of access for each post. (I mean, each post can be viewable in both of these cases)
1- Registered users in specific groups should be able to ...
0
votes
0
answers
392
views
Failed to load resource: the server responded with a status of 500 () post.php
I got no error in my Admin panel
but when I define a new editor or author role
when the user goes the panel to edit or add new page
nothing works, no button, no page builder and nothing
and He got ...
-1
votes
1
answer
775
views
How to block external download link access if visitor not referred from WP?
How to block link access (on a custom script installed server) if visitor not referred from our wordpress site?
I mean we want to block access to links inside of our wordpress posts and make them ...
2
votes
1
answer
768
views
How to change ID of an attachment in wp_posts and its related tables correctly?
I have two posts in my wp_posts table where post_type='attachment'
The picture below shows the records related to those in wp_postmeta table
I need to change the IDs of those files. What I am doing ...
-1
votes
1
answer
160
views
Plugin to display text before a post
I am trying to display some text before publising post.When i add post i am getting error as
Publishing failed
my code is
function adddata(){
echo "Welcome to my post!..........";
}
...
0
votes
2
answers
2k
views
Problem of encoding characters (apostrophes) in my posts publications
I currently have a big apostrophes problem when my articles are published on my website, because for an example of a word like "l'associé", my article is published with characters that replace the ...
1
vote
1
answer
24
views
Two problems on my WordPress installation [closed]
First problem is I can't scroll on creation post page, same with disabled all plugins.
Second problem is I have already an update notification in menu but no update on update page.
0
votes
1
answer
2k
views
How to echo a PHP Code After the Content
i wanted to execute a code after the Content of each blog post. I just want it to be on posts and not on pages. I could execute simple html by the method but could not put the following content. ...
0
votes
0
answers
21
views
All Post Wordpress Page Error
I set up the number of elements per page in the Wordpress "Post" page in 999 (max) because i have more than 4k post but since i did that every time I want to go to the page and see my post i'm ...
0
votes
0
answers
30
views
Wordpress Product Detail and catalog
I want to have post for every product, some product may have similar feature.For example Size with different Value for each one. and some other product doesn't have Size Feature.
i see this page and ...
0
votes
1
answer
777
views
How to backup single post in wordpress [closed]
Please Advice me. I wanted to backup single post with data and media file.
But not link with original post.
0
votes
0
answers
307
views
Get the last post ID
I'm trying to understand the ID mechanism in wp_posts in WordPress.
Whenever I add a product (woocommerce), page, or an image, they are recorded in wp_posts and assigned an incremented id. Let's say, ...
0
votes
1
answer
75
views
Add input radio menu to post
Is there any function to add radio buttons to post and how can I call it? (exampe on img). Thank you for suggestion
5
votes
1
answer
2k
views
How do I unlock a post programmatically?
I can use wp_set_post_lock to temporarily lock a post so that only I can edit it.
I can use wp_refresh_post_lock to refresh that lock.
I can use wp_check_post_lock to check whether a post is locked.
...
0
votes
2
answers
888
views
Flickering sidebar when scrolling page [closed]
I am an amateur WP developer building a site for my wife :)
I am using Helium theme and the site is in RTL direction.
I have a right side bar.
After making some changes by changing the main page ...
2
votes
1
answer
3k
views
How to create a Page alias in WordPress
In the image you see... WordPress has alias for Pages like Home Page, Checkout Page, Privacy Policy Page and any appear beside the page you assign them.
How to create this feature in WordPress? If I ...
0
votes
1
answer
30
views
Is there a plugin or a way in the wordpress that would let us have different versions of a post or page accessibe to users?
I work on a website which talks about and teaches some educational subjects. It happens alot that I talk and explain about a software like a year ago and a new versions comes out.
Currently what I do, ...
0
votes
1
answer
1k
views
How to upload PDF from Front-End and post automatically?
I have a medical client and they want to upload and post pdf automatically.
So I stumbled upon frontend uploader, which allows users to upload and post an image to a blog post. It does however post ...
0
votes
1
answer
37
views
Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
I have a requirement to add certain posts (marked with a tag or category) from "site a" to another site ("site b"). I think the best way would be for site b to periodically check site a for the ...
0
votes
2
answers
282
views
Moving FB comments at the end of page
I am using plugin "wpdevart facebook comment" for posting comments at the end of every post. They are displaying good But now I want to shift those comments little below of pagination and ads Or at ...
0
votes
1
answer
432
views
How to wrap image tag into div for post only?
I have created a function it wraps all image tag inside a div, but I want to apply it only for the post but my function wraps the page images inside a div also.
// Wrap img into div
function ...
1
vote
0
answers
248
views
posts comments goes to trash
My website was working fine until today, I just discovered that all comments made goes straight to trash.
I did not install new plugins, I don't have akismet. It just started. I have deactivated all ...
1
vote
0
answers
17
views
Contributive page where people logged in can write
I'd like to have a page on my wordpress site where people can add a content really simply. They would click on a link that open a popup where they can login, add a content, and that's it. It would be ...
0
votes
2
answers
285
views
Where Should i write the code for wordpress ajax voting?
I am a newbe in wordpress theme development. Can anyone tell me where I should implement the code for any ajax functionalities(say a voting system for posts)? should I write it on a separate plugin or ...
-1
votes
1
answer
43
views
Notifications on Wordpress Website [closed]
I am working on a wordpress website where users can register and post things that they would like to promote or anything that they like to post. Now how can i enable notifications for the user ...
0
votes
0
answers
463
views
How can I get the Post ID and Post Type within a Must Use Plugin?
I'm trying to get the Post ID and the Post Type inside of my MU Plugin; functions like: get_the_ID() and get_post_type() return false, instead of the desire values.
I read that many functions are ...
0
votes
1
answer
1k
views
download button for audio file in post [closed]
I am setting up a website for audio files, i have uploaded an audio file and inserted in a post in given link http://darsequranmardan.com/quran/siparah-18/1-surah-al-mumenoon-ayat-1-to-16/ the audio ...
0
votes
1
answer
370
views
check uncategorized category by default
I would like to check the category 'uncategorized' by default when user creates a new post. Any idea how to go about it?
The default setting is 'Uncategorized' in Settings > Writing
However, it is ...
0
votes
1
answer
25
views
Print posts category or tag as a formatted journal
I was looking for a plugin to allow to choose a post category and print it as a formatted newspaper (full text and at least 2 column with a title).
In other words. I would like to create a printed ...
-1
votes
1
answer
29
views
Automatically put a menu on every post
I want to automatically put a menu on every post (Contact Form requesting DMCA Takedown, Contact Form requesting change of category or tag, etc.).
Any ideas on a plug-in that will do this? Searching ...
0
votes
1
answer
31
views
Wordpress CPT Url metabox collection
How can I set for my Custom Post Type 'company' different url's if this company have multiple locations.
For example:
CPT: "company" with slug http://example.com/company
CPT Company Post:"Company ABC"...