[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Blogs

A blog is a discussion or informational site consisting of discrete entries ("posts") typically displayed in reverse chronological order. Blogs can be the work of a single individual but more recently "multi-author blogs" (MABs) have developed, with posts written by large numbers of authors and professionally edited and "microblogging" systems help integrate blogs into societal newstreams.

Share tech news, updates, or what's on your mind.

Sign up to Post

i have a blog site with few articles there.

i like to rename that blog site name from xyz to say abc

how to rename it
please advise
0
OWASP Proactive Controls
LVL 12
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Hi, I have a blog website build using ASP.NET using C# and entity framework.
I have this requirement where I need to list all my published blogs and paginate them as they are too many.
I am new to .NET and have no idea how to do it.

Earlier I got all the blog details from the database and used ajax and JSON as well to fetch it.

A friend gave me a sample code and told me it would help. Please have a look into that as well.


Please help me acheive this.
I am attaching all my code here along with the stored procedure.


STORED PROCEDURE

GO
/****** Object:  StoredProcedure [dbo].[GetBlogs]    Script Date: 05-11-2018 01:50:14 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[GetBlogs]

@count int,
@start int,
@categoryId int,
@blogCount int Output
as
begin
	Declare @LastBlog int
	Set @count = 9
	Set @lastBlog = @count + @start;

	create table #x (id int identity(1,1),blogid int)

	if @categoryId is null
		begin
			insert into #x
			select Id from Blog where IsDeleted=0 and StatusId = 2

		end
	else
		begin
			insert into #x	
			select b.Id from Blog b inner join BlogCategories bc on b.Id = bc.BlogId where bc.CategoryId = @categoryId and b.IsDeleted=0 and b.StatusId = 2;
		end
	
	select @blogCount = COUNT(#x.id) from #x 

	select b.* from #x inner join Blog b on #x.blogid = b.Id where #x.id > @start and #x.id <= @LastBlog

	drop table #x

end

Open in new window




DAL Sample Code

using System;
using 

Open in new window

0
how do I delete the posted questions by me?
0
Actually, I am getting confused to choose the topic of trading blogs? so let me know What is the recent trading blog or blog topic?
0
Wordpress login for subsites not working.
I recently moved my site to IIS, everything except logins not working, I can login from main page, but from a subsite of I click login it does not work, gives me an error
0
In Blogger for a search box for content of pages the error occur such as no post for a query.how to fix?how to connect pages content with search box???while i am searching in search box there was no  data result from of pages.
0
need blogs do follow to get back-link
any one?
0
Hi,

I am writing a php code to do a bulk export of all the blogs on my wordpress sites.

this is what I used, i.e. in a loop obtain blog ids and switch to the sites and run export.
issue is its just opening the content on a browser rather than to an xml file.

require_once( ABSPATH . 'wp-admin/includes/export.php' );
switch_to_blog($blogid);

$args = array(
               'content'    => 'all',              
      );

export_wp($args);
0
Hi there.
I have a website on Wordpress.
On a local server - everything works fine.
On the remote server, I have the "Not found" error on all pages except the homepage.
I've checked .htaccess file, deactivated all plugins, change the Wordpress theme, but the error didn't disappear.  
Help me please to solve this problem.
I have the 4.7.1 Wordpress version and "Twenty twelve" website's theme.
0
I am currently working at my thesis paper. Although I have a good adviser and I've choosen a topic I'm really interested in, I have some problem structurizing my paper.
0
Angular Fundamentals
LVL 12
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

I am about to start an IT blog and I have many ideas to share. However, I'm not very good whent ot goes to writing about software engineering. Probably you could share a good tutorial& Thanks!
0
Hi

Our company website is currently not on Wordpress (3rd party custom CMS site), but our company blog is already on Wordpress. We use 2 different domain names to access them.

We want to rebuild our website using just Wordpress and we want to integrate the old Wordpress blog into the new installation. This is easy and we have tested (simple export from old blog and import into new Wordpress).

But we don't know how to keep the 2 domains functioning.

Current setup:
DOMAIN #1 > CMS SERVER
DOMAIN #2 > OLD WORDPRESS BLOG

New desired setup:
DOMAIN #1 > NEW WORDPRESS SITE
DOMAIN #2 > BLOG POSTS on NEW WORDPRESS SITE

It is true that users on DOMAIN #1 will be able to use the menus to navigate to the blog on the new Wordpress server - this is fine. But for odd historical reasons some Blog readers don't know about DOMAIN #1 and will continue to use DOMAIN #2. We don't want them to hit the homepage and be confused - we want DOMAIN #2 to point directly at the List of Blog Posts on the new server (and look like a separate domain still). In other words DOMAIN #2 needs to point to a subset of the site. We don't want to just do a domain forward to DOMAIN #1 if at all possible.

Is this at all possible?
0

Blogs

A blog is a discussion or informational site consisting of discrete entries ("posts") typically displayed in reverse chronological order. Blogs can be the work of a single individual but more recently "multi-author blogs" (MABs) have developed, with posts written by large numbers of authors and professionally edited and "microblogging" systems help integrate blogs into societal newstreams.